summaryrefslogtreecommitdiffstats
path: root/tests/auto/qglthreads
diff options
context:
space:
mode:
authorJani Hautakangas <jani.hautakangas@nokia.com>2010-10-04 19:34:49 (GMT)
committerJani Hautakangas <jani.hautakangas@nokia.com>2010-10-04 19:36:48 (GMT)
commit2ab99337faa0ec03721fb39cae52361f7ac4d780 (patch)
treea2bd21946b1e0c4588b18851c1648024c09510e1 /tests/auto/qglthreads
parent25ddfb434f13aa3bbc6ac303aa17dbe9582bf3f0 (diff)
downloadQt-2ab99337faa0ec03721fb39cae52361f7ac4d780.zip
Qt-2ab99337faa0ec03721fb39cae52361f7ac4d780.tar.gz
Qt-2ab99337faa0ec03721fb39cae52361f7ac4d780.tar.bz2
Fix gcc compilation problems in QtOpenGL. Actually was typo and
for some reason rvct didn't catch that. Reviewed-by: TRUSTME
Diffstat (limited to 'tests/auto/qglthreads')
-rw-r--r--tests/auto/qglthreads/tst_qglthreads.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/auto/qglthreads/tst_qglthreads.cpp b/tests/auto/qglthreads/tst_qglthreads.cpp
index cce3161..06131bd 100644
--- a/tests/auto/qglthreads/tst_qglthreads.cpp
+++ b/tests/auto/qglthreads/tst_qglthreads.cpp
@@ -49,6 +49,10 @@
#include <private/qt_x11_p.h>
#endif
+#ifdef Q_OS_SYMBIAN
+#include <unistd.h> // for usleep
+#endif
+
#define RUNNING_TIME 5000
tst_QGLThreads::tst_QGLThreads(QObject *parent)
@@ -209,6 +213,7 @@ public:
p.drawText(image.rect(), Qt::AlignCenter, "This is an autotest");
p.end();
m_gl->bindTexture(image, GL_TEXTURE_2D, GL_RGBA, QGLContext::InternalBindOption);
+
createdAndUploaded(image);
}
}