summaryrefslogtreecommitdiffstats
path: root/src/opengl
diff options
context:
space:
mode:
authorPaul Olav Tvete <paul.tvete@nokia.com>2010-09-03 08:03:23 (GMT)
committerPaul Olav Tvete <paul.tvete@nokia.com>2010-09-03 08:03:23 (GMT)
commitc8ae543a3b649778d8f6e1b2d45faf3a4b1d4012 (patch)
tree3877635dca2b8422bdac56813c34996c4bfd3aa1 /src/opengl
parent6de6d4d51f538150e64de35f0bcee0ff20a86261 (diff)
downloadQt-c8ae543a3b649778d8f6e1b2d45faf3a4b1d4012.zip
Qt-c8ae543a3b649778d8f6e1b2d45faf3a4b1d4012.tar.gz
Qt-c8ae543a3b649778d8f6e1b2d45faf3a4b1d4012.tar.bz2
Compile fix
Note: the #ifdef matches the one around eglReleaseBuffer, but it may be that that should have checked for EGL instead of GL_ES
Diffstat (limited to 'src/opengl')
-rw-r--r--src/opengl/qgl.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/opengl/qgl.cpp b/src/opengl/qgl.cpp
index 2145001..cd3121e 100644
--- a/src/opengl/qgl.cpp
+++ b/src/opengl/qgl.cpp
@@ -93,6 +93,9 @@
#include "qlibrary.h"
#include <qmutex.h>
+#ifdef QT_OPENGL_ES
+#include <EGL/egl.h>
+#endif
// #define QT_GL_CONTEXT_RESOURCE_DEBUG