Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unaccelerated rendering breaks too often #5

Open
sam-itt opened this issue Mar 27, 2021 · 0 comments
Open

Unaccelerated rendering breaks too often #5

sam-itt opened this issue Mar 27, 2021 · 0 comments

Comments

@sam-itt
Copy link
Owner

sam-itt commented Mar 27, 2021

SoFIS can be built with software-rendering only (and obviously no synthetic vision). This mode breaks often due to rotations being implemented in each gauge with #define guards to select an alternative code path when SDL_gpu is not available.

All rotation code should be factored out in a RotatingLayer class which will then select (compile-time) the appropriate code path when SDL_gpu is available or not. No more #define for that in the gauges and less breakages (hopefully).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant