Skip to content

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

Open
vanfanel wants to merge 3 commits intodjyt:masterfrom
vanfanel:master
Open

Add cmake configuration for using OpenGL on the Raspberry Pi 4.#119
vanfanel wants to merge 3 commits intodjyt:masterfrom
vanfanel:master

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