summaryrefslogtreecommitdiffstats
path: root/tests/auto/qgl/qgl.pro
diff options
context:
space:
mode:
authorSamuel Rødal <sroedal@trolltech.com>2010-02-26 09:44:51 (GMT)
committerSamuel Rødal <sroedal@trolltech.com>2010-02-26 12:17:54 (GMT)
commitc815fd0a6426e43aa9efd861888888aa4d5b233b (patch)
tree37624a6e19cf07fc16afbcdae0e97e140df1b3e5 /tests/auto/qgl/qgl.pro
parent7ff5a5bc4b67a807200cae3ac83884d721bad373 (diff)
downloadQt-c815fd0a6426e43aa9efd861888888aa4d5b233b.zip
Qt-c815fd0a6426e43aa9efd861888888aa4d5b233b.tar.gz
Qt-c815fd0a6426e43aa9efd861888888aa4d5b233b.tar.bz2
Fixed qgl autotest failures on Maemo.
Changed glFBOSimpleRendering and glFBOUseInGLWidget auto tests to use NPOT sizes. NPOT FBOs are not twiddled, and thus not exposed to the twiddled glReadPixels() bug in the current drivers. Skipped glWidgetRenderPixmap as renderPixmap() is not supported under EGL currently. Reviewed-by: Tom Cooksey
Diffstat (limited to 'tests/auto/qgl/qgl.pro')
-rw-r--r--tests/auto/qgl/qgl.pro2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/qgl/qgl.pro b/tests/auto/qgl/qgl.pro
index 9116f39..5f058f9 100644
--- a/tests/auto/qgl/qgl.pro
+++ b/tests/auto/qgl/qgl.pro
@@ -6,6 +6,8 @@ load(qttest_p4)
requires(contains(QT_CONFIG,opengl))
QT += opengl
+contains(QT_CONFIG,egl):DEFINES += QGL_EGL
+
SOURCES += tst_qgl.cpp
RESOURCES = qgl.qrc