gl renderer: Generate queries only on desktop GL
On desktop GL, GL 1.5 or GL_ARB_occlusion_query
is required to get the
glGenQueries()
etc. symbols. This isn’t the case on GLES, where they
are provided by GL_EXT_occlusion_query_boolean
, and more importantly
have never been made core.
This patch allows gtk4-demo to start when GDK_DEBUG=gl-gles
is set, on
my Mali 400 MP running the Lima driver from Mesa.
Edited by Link Mauve