summaryrefslogtreecommitdiffstats
path: root/src/multimedia/qmediaopenglhelper_p.h
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@digia.com>2014-09-09 11:48:46 +0200
committerLaszlo Agocs <laszlo.agocs@digia.com>2014-09-09 12:10:01 +0200
commitd00ad751bd1a7efff43e951955cc6b46ecbe5d73 (patch)
tree8c82e776dba5ca6bd660158a26ce79b3e1f3e3e8 /src/multimedia/qmediaopenglhelper_p.h
parentbc1fa076c944c6af3250cb7210190da42a4de6ea (diff)
ANGLE is never available on WinCE
Change-Id: I853774af533d7f4b37b4789344e531d2688f91f5 Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Diffstat (limited to 'src/multimedia/qmediaopenglhelper_p.h')
-rw-r--r--src/multimedia/qmediaopenglhelper_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/multimedia/qmediaopenglhelper_p.h b/src/multimedia/qmediaopenglhelper_p.h
index d42dfba42..0dbd79d47 100644
--- a/src/multimedia/qmediaopenglhelper_p.h
+++ b/src/multimedia/qmediaopenglhelper_p.h
@@ -66,7 +66,7 @@ inline bool QMediaOpenGLHelper::isANGLE()
#else
bool isANGLE = false;
-# if defined(Q_OS_WIN) && (defined(QT_OPENGL_ES_2) || defined(QT_OPENGL_DYNAMIC))
+# if defined(Q_OS_WIN) && !defined(Q_OS_WINCE) && (defined(QT_OPENGL_ES_2) || defined(QT_OPENGL_DYNAMIC))
if (QOpenGLContext::openGLModuleType() == QOpenGLContext::LibGLES) {
// Although unlikely, technically LibGLES could mean a non-ANGLE EGL/GLES2 implementation too.
// Verify that it is indeed ANGLE.
@@ -98,7 +98,7 @@ inline bool QMediaOpenGLHelper::isANGLE()
# endif // QT_OPENGL_ES_2_ANGLE_STATIC
}
-# endif // Q_OS_WIN && (QT_OPENGL_ES_2 || QT_OPENGL_DYNAMIC)
+# endif // Q_OS_WIN && !Q_OS_WINCE && (QT_OPENGL_ES_2 || QT_OPENGL_DYNAMIC)
return isANGLE;
#endif // Q_OS_WINRT