summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@qt.io>2017-06-28 14:20:41 +0200
committerSimon Hausmann <simon.hausmann@qt.io>2017-06-29 06:08:45 +0000
commit5c99fe2bacf7be54d6b649f5d798c185f7c78990 (patch)
treeb6f975d4452d9d7e25b206a2cdd613d2ddf32a07 /tests
parent5c13acd3c953dd9f8fd9b17d7a1be7c3f5e4004f (diff)
Fix Angle check in QGLBuffer auto-test
Ammends commit 5c13acd3c953dd9f8fd9b17d7a1be7c3f5e4004f by correcting the #ifdef for Windows. Task-number: QTQAINFRA-1199 Change-Id: I6789e4f1726bab0d4f9d4c8f91383b8ef850ec5b Reviewed-by: Joni Jäntti <joni.jantti@qt.io> Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/opengl/qglbuffer/tst_qglbuffer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/opengl/qglbuffer/tst_qglbuffer.cpp b/tests/auto/opengl/qglbuffer/tst_qglbuffer.cpp
index a5519c75ab..d2c0063f5d 100644
--- a/tests/auto/opengl/qglbuffer/tst_qglbuffer.cpp
+++ b/tests/auto/opengl/qglbuffer/tst_qglbuffer.cpp
@@ -85,7 +85,7 @@ void tst_QGLBuffer::testBuffer(QGLBuffer::Type type)
QGLWidget w;
w.makeCurrent();
-#if defined(Q_OS_WINDOWS)
+#if defined(Q_OS_WIN)
if (w.context()->contextHandle()->isOpenGLES()) {
QSKIP("Unfortunately Angle in Qt 5.6 does not support this test -- QTQAINFRA-1199");
}