summaryrefslogtreecommitdiffstats
path: root/src/gui/egl/qegl_p.h
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2010-09-13 02:50:47 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2010-09-13 02:50:47 (GMT)
commit0b4cc3fff39f9f5a7b7c0e1cfdc241c70fa475d8 (patch)
tree8eb2d5d536e91265c7c7962c519455f931bbe677 /src/gui/egl/qegl_p.h
parent7e2ecab260b2fd5d00d1274892a6f38e325cf72c (diff)
parenta39285f6f5c3355d48810851a7215b951f1aaa4c (diff)
downloadQt-0b4cc3fff39f9f5a7b7c0e1cfdc241c70fa475d8.zip
Qt-0b4cc3fff39f9f5a7b7c0e1cfdc241c70fa475d8.tar.gz
Qt-0b4cc3fff39f9f5a7b7c0e1cfdc241c70fa475d8.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2: Fix compilation of QEgl with EGL 1.1 and older.
Diffstat (limited to 'src/gui/egl/qegl_p.h')
-rw-r--r--src/gui/egl/qegl_p.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/egl/qegl_p.h b/src/gui/egl/qegl_p.h
index c214e88..aa08934 100644
--- a/src/gui/egl/qegl_p.h
+++ b/src/gui/egl/qegl_p.h
@@ -65,6 +65,10 @@ QT_BEGIN_INCLUDE_NAMESPACE
#else
# include <EGL/egl.h>
#endif
+#if !defined(EGL_VERSION_1_2)
+typedef unsigned int EGLenum;
+typedef void *EGLClientBuffer;
+#endif
#else
//types from egltypes.h for compiling stub without EGL headers