summaryrefslogtreecommitdiffstats
path: root/src/gui/egl/qegl_p.h
diff options
context:
space:
mode:
authorShane Kearns <shane.kearns@accenture.com>2010-04-28 12:31:00 (GMT)
committerShane Kearns <shane.kearns@accenture.com>2010-04-28 12:31:00 (GMT)
commitc3dfc6760d3db3f524292d99685b95d1e1238422 (patch)
treefe48ca16e08bef4194fdf9711c220471f9a0b2f5 /src/gui/egl/qegl_p.h
parent73610e1308d6414eda8e2a525584c83434b9cf78 (diff)
downloadQt-c3dfc6760d3db3f524292d99685b95d1e1238422.zip
Qt-c3dfc6760d3db3f524292d99685b95d1e1238422.tar.gz
Qt-c3dfc6760d3db3f524292d99685b95d1e1238422.tar.bz2
Correction to EGL stub implementation
Symbian typedefs EGLImageKHR as int rather than the reference void * For ARM builds this causes a symbol mismatch for eglDestroyImageKHR() when using the stubs. Task-number: QTBUG-7870 Reviewed-by: Miikka Heikkinen
Diffstat (limited to 'src/gui/egl/qegl_p.h')
-rw-r--r--src/gui/egl/qegl_p.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/egl/qegl_p.h b/src/gui/egl/qegl_p.h
index 6c562ef..4fc1338 100644
--- a/src/gui/egl/qegl_p.h
+++ b/src/gui/egl/qegl_p.h
@@ -154,7 +154,13 @@ QT_BEGIN_NAMESPACE
// Declare/define the bits of EGL_KHR_image_base we need:
#if !defined(EGL_KHR_image) && !defined(EGL_KHR_image_base)
+#ifdef Q_OS_SYMBIAN
+//symbian version of eglext.h differs from the khronos reference
+typedef int EGLImageKHR;
+#else
typedef void *EGLImageKHR;
+#endif
+
#define EGL_NO_IMAGE_KHR ((EGLImageKHR)0)
#define EGL_IMAGE_PRESERVED_KHR 0x30D2
#define EGL_KHR_image_base