According to the OpenGL ES standard, "glGetString(GL_VERSION)" should return a string starting with "OpenGL ES". However, PowerVR's OpenGL ES implementation (and perhaps others) don't comply with the standard here. If our context happend to be bound using EGL, then we can just ask EGL what kind of context it was, avoiding the glGetString() check.macos/v1.5.9
parent
227d1312e6
commit
a7c270f8e2
Loading…
Reference in new issue