cannonball icon indicating copy to clipboard operation
cannonball copied to clipboard

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

Open vanfanel opened this issue 3 years ago • 2 comments

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 avatar Dec 04 '21 00:12 vanfanel

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

vanfanel avatar Dec 04 '21 00:12 vanfanel

@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.

vanfanel avatar Dec 05 '21 17:12 vanfanel