diff options
author | Sean Harmer <sean.harmer@kdab.com> | 2012-11-30 10:48:54 +0000 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-12-01 08:29:14 +0100 |
commit | a7c9d5ca9c754902baa0fa5a6ba8b28864611ca5 (patch) | |
tree | 50da0e506f34887001d016cc0db7b34d69becba6 /src/opengl/qglframebufferobject_p.h | |
parent | 5573a44f689ef92873a55fccf7f2752b43243de5 (diff) |
OpenGL: Remove bogus error in textures example on ES 2 platforms
The call to glGetBooleanv(GL_FRAMEBUFFER_SRGB_CAPABLE_EXT) in
QGLExtensions::currentContextExtensions() was resulting in an invalid
enum on ES 2 systems. This was not being cleared and subsequentally
being interpreted as a failed texture upload in the textures example.
This enum doesn't exist on ES 2 so don't query it.
Change-Id: I84f9c4b0aa8b11b6036eeed1f9378d110d9ea69d
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
Diffstat (limited to 'src/opengl/qglframebufferobject_p.h')
0 files changed, 0 insertions, 0 deletions