summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@digia.com>2014-09-06 19:29:41 +0200
committerLaszlo Agocs <laszlo.agocs@digia.com>2014-09-06 22:39:48 +0200
commit289e9af668df8b9f869ee42e295b582f246d6e32 (patch)
tree87b0319137310dec281c5fa37e71a3cfec9d4518
parent357f80878d56d9b612724533fa7ad9d25c7ec100 (diff)
Define EGL_EGLEXT_PROTOTYPES for ANGLEv5.4.0-alpha1
Otherwise the protos are not pulled in so the ANGLE-only build cannot suceed (unless the flag is defined from somewhere else). Task-number: QTBUG-41164 Change-Id: I959d154da88f7ccc8159ec7e810ffdba0e7f50ea Reviewed-by: Andrew Knight <andrew.knight@digia.com>
-rw-r--r--src/plugins/platforms/windows/qwindowseglcontext.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/platforms/windows/qwindowseglcontext.cpp b/src/plugins/platforms/windows/qwindowseglcontext.cpp
index e27b55da3e..8892fa6daa 100644
--- a/src/plugins/platforms/windows/qwindowseglcontext.cpp
+++ b/src/plugins/platforms/windows/qwindowseglcontext.cpp
@@ -47,6 +47,7 @@
#include <QtGui/QOpenGLContext>
#if defined(QT_OPENGL_ES_2_ANGLE) || defined(QT_OPENGL_DYNAMIC)
+# define EGL_EGLEXT_PROTOTYPES
# include <QtANGLE/EGL/eglext.h>
#endif