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

Add cmake configuration for using OpenGL on the Raspberry Pi 4. #119

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Add cmake configuration for using OpenGL on the Raspberry Pi 4. #119

wants to merge 3 commits into from

Conversation

vanfanel
Copy link
Contributor

@vanfanel vanfanel commented Dec 4, 2021

Previously, for the Pi4 optimized builds, only GLES2 cmake configs were present.
This adds an OpenGL cmake configuration for the PI4, so full OpenGL (legacy GLX or up-to-date GLVND) is used.

@vanfanel
Copy link
Contributor Author

vanfanel commented Dec 4, 2021

@djyt I also added a fix for the flickering backgound on GLES on certain configurations.

@vanfanel
Copy link
Contributor Author

vanfanel commented Dec 5, 2021

@djyt I modified the flashing backgound correction (context must be cleared before each frame is rendered to prevent this).
Also, corrected the spacing: I was using a mix of 4-spaces and tabs, which looks ugly now, so I am using 4-spaces always, as the rest of the engine code seems to do.

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

Successfully merging this pull request may close these issues.

1 participant