summaryrefslogtreecommitdiffstats
path: root/tests/auto/opengl/qglbuffer/tst_qglbuffer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/opengl/qglbuffer/tst_qglbuffer.cpp')
-rw-r--r--tests/auto/opengl/qglbuffer/tst_qglbuffer.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/auto/opengl/qglbuffer/tst_qglbuffer.cpp b/tests/auto/opengl/qglbuffer/tst_qglbuffer.cpp
index f96e3514a7..a5519c75ab 100644
--- a/tests/auto/opengl/qglbuffer/tst_qglbuffer.cpp
+++ b/tests/auto/opengl/qglbuffer/tst_qglbuffer.cpp
@@ -34,6 +34,7 @@
#include <QtTest/QtTest>
#include <QtOpenGL/qgl.h>
#include <QtOpenGL/qglbuffer.h>
+#include <QOpenGLContext>
class tst_QGLBuffer : public QObject
{
@@ -84,6 +85,12 @@ void tst_QGLBuffer::testBuffer(QGLBuffer::Type type)
QGLWidget w;
w.makeCurrent();
+#if defined(Q_OS_WINDOWS)
+ if (w.context()->contextHandle()->isOpenGLES()) {
+ QSKIP("Unfortunately Angle in Qt 5.6 does not support this test -- QTQAINFRA-1199");
+ }
+#endif
+
// Create the local object, but not the buffer in the server.
QGLBuffer buffer(type);
QCOMPARE(buffer.usagePattern(), QGLBuffer::StaticDraw);