Closed davidgraeff closed 6 years ago
Hi,
I've tried this and found that with a minor tweak it works on a Raspberry Pi 3. When compiling shaders, in glscope.cpp, I set the coreShaders boolean based on the QT_OPENGL_ES_2 definition and #defined QT_OPENGL_ES_2 at the top of the file.
I'm not sure where QT_OPENGL_ES_2 should normally be defined, there's probably a better place than the top of that file.
I'm using the GL driver on the Pi, which can be enabled in the Advanced Options of the raspi-config application.
Regards, Geoff.
Update: Unsurprisingly, with the Experimental GL driver disabled (the default) it works, but only at about 1 Frame Per Second.
Fix:
initializeGL()
calls.Optimize:
Code style:
Fixes #154 Fixes #155