]> git.tdb.fi Git - libs/gl.git/commitdiff
Adjust OccludedScene to be more compatible with OpenGL ES
authorMikko Rasa <tdb@tdb.fi>
Sun, 10 Jan 2016 16:45:06 +0000 (18:45 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sun, 10 Jan 2016 16:45:06 +0000 (18:45 +0200)
GL_SAMPLES_PASSED is not available in OpenGL ES so use occlusion_query2
for GL_ANY_SAMPLES_PASSED.  In theory it's possible for an implementation
to support occlusion_query but not the 2 variant; I'll deal with that
case if I ever come across such a combination of hardware and drivers.


No differences found