Define EGL_EGLEXT_PROTOTYPES for ANGLE

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>
bb10
Laszlo Agocs 2014-09-06 19:29:41 +02:00
parent 357f80878d
commit 289e9af668
1 changed files with 1 additions and 0 deletions

View File

@ -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