diff options
author | Paul Olav Tvete <paul.tvete@nokia.com> | 2010-09-03 08:03:23 (GMT) |
---|---|---|
committer | Paul Olav Tvete <paul.tvete@nokia.com> | 2010-09-03 08:03:23 (GMT) |
commit | c8ae543a3b649778d8f6e1b2d45faf3a4b1d4012 (patch) | |
tree | 3877635dca2b8422bdac56813c34996c4bfd3aa1 /src/opengl | |
parent | 6de6d4d51f538150e64de35f0bcee0ff20a86261 (diff) | |
download | Qt-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.cpp | 3 |
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 |