diff options
author | Trond Kjernåsen <trond.kjernasen@nokia.com> | 2010-10-12 10:54:15 (GMT) |
---|---|---|
committer | Trond Kjernåsen <trond.kjernasen@nokia.com> | 2010-10-12 11:22:30 (GMT) |
commit | 7cd0a90344d340f22b6b2d3afeef092dbaf2cd51 (patch) | |
tree | 82a9611c6c24740a5e7f0b5c7df8a8f08576513c /src/opengl/qgl.cpp | |
parent | 25094190fc4886e7c5a878bf923a387bbbab58de (diff) | |
download | Qt-7cd0a90344d340f22b6b2d3afeef092dbaf2cd51.zip Qt-7cd0a90344d340f22b6b2d3afeef092dbaf2cd51.tar.gz Qt-7cd0a90344d340f22b6b2d3afeef092dbaf2cd51.tar.bz2 |
Revert "Don't define highp/mediump/lowp if desktop GL has them"
This reverts commit 6155050f68cc86c445552da61a5f240c16f5e2cd.
The GL_ARB_ES2_compatibility extension does not mention the lowp,
mediump or highp keywords.
Task-number: QTBUG-14384
Reviewed-by: Samuel
Reviewed-by: Prasanth
Diffstat (limited to 'src/opengl/qgl.cpp')
-rw-r--r-- | src/opengl/qgl.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/opengl/qgl.cpp b/src/opengl/qgl.cpp index 9e74e04..7f25887 100644 --- a/src/opengl/qgl.cpp +++ b/src/opengl/qgl.cpp @@ -5264,8 +5264,6 @@ QGLExtensions::Extensions QGLExtensions::currentContextExtensions() glExtensions |= FragmentShader; if (extensions.match("GL_ARB_shader_objects")) glExtensions |= FragmentShader; - if (extensions.match("GL_ARB_ES2_compatibility")) - glExtensions |= ES2Compatibility; if (extensions.match("GL_ARB_texture_mirrored_repeat")) glExtensions |= MirroredRepeat; if (extensions.match("GL_EXT_framebuffer_object")) @@ -5286,7 +5284,6 @@ QGLExtensions::Extensions QGLExtensions::currentContextExtensions() glExtensions |= FramebufferObject; glExtensions |= GenerateMipmap; glExtensions |= FragmentShader; - glExtensions |= ES2Compatibility; #endif #if defined(QT_OPENGL_ES_1) if (extensions.match("GL_OES_framebuffer_object")) |