summaryrefslogtreecommitdiffstats
path: root/src/opengl/qgl_p.h
diff options
context:
space:
mode:
authorBradley T. Hughes <bradley.hughes@nokia.com>2009-06-02 06:00:42 (GMT)
committerBradley T. Hughes <bradley.hughes@nokia.com>2009-06-02 06:00:42 (GMT)
commitfdf48e6dc126414bd34db1af3ede601f025acbb0 (patch)
treeef40c8cf72477f968bcbb657f570a10fb1a9330e /src/opengl/qgl_p.h
parent120ce340065ab62780032589fd79b8d3e154c81d (diff)
parent63fba94e074c29f17e35c7cf9133d1878b18401f (diff)
downloadQt-fdf48e6dc126414bd34db1af3ede601f025acbb0.zip
Qt-fdf48e6dc126414bd34db1af3ede601f025acbb0.tar.gz
Qt-fdf48e6dc126414bd34db1af3ede601f025acbb0.tar.bz2
Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt
Diffstat (limited to 'src/opengl/qgl_p.h')
-rw-r--r--src/opengl/qgl_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opengl/qgl_p.h b/src/opengl/qgl_p.h
index b1a63b5..b3523d4 100644
--- a/src/opengl/qgl_p.h
+++ b/src/opengl/qgl_p.h
@@ -440,7 +440,7 @@ inline bool qt_gl_preferGL2Engine()
return true;
#else
return (QGLFormat::openGLVersionFlags() & QGLFormat::OpenGL_Version_2_0)
- && !qgetenv("QT_GL_USE_OPENGL2ENGINE").isEmpty();
+ && qgetenv("QT_GL_USE_OPENGL1ENGINE").isEmpty();
#endif
}