diff options
author | Tom Cooksey <thomas.cooksey@nokia.com> | 2010-03-29 06:18:09 (GMT) |
---|---|---|
committer | Tom Cooksey <thomas.cooksey@nokia.com> | 2010-03-29 06:18:09 (GMT) |
commit | d8419cf58ffea2b9cab4986389472c991e2a2f63 (patch) | |
tree | 0f4867714b04360976daccae81ce81d4095a3c37 /src | |
parent | 8db35fe685d115f136bb2ec0305300dd082b278b (diff) | |
download | Qt-d8419cf58ffea2b9cab4986389472c991e2a2f63.zip Qt-d8419cf58ffea2b9cab4986389472c991e2a2f63.tar.gz Qt-d8419cf58ffea2b9cab4986389472c991e2a2f63.tar.bz2 |
Protect EGLImage function definitions in #ifdef
This should fix the build on Symbian.
Reviewed-By: TrustMe
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/egl/qegl.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/egl/qegl.cpp b/src/gui/egl/qegl.cpp index 507fab3..3417781 100644 --- a/src/gui/egl/qegl.cpp +++ b/src/gui/egl/qegl.cpp @@ -528,8 +528,10 @@ QEglProperties QEglContext::configProperties() const return QEglProperties(config()); } +#if !defined(EGL_KHR_image) || !defined(EGL_KHR_image_base) _eglCreateImageKHR eglCreateImageKHR = 0; _eglDestroyImageKHR eglDestroyImageKHR = 0; +#endif EGLDisplay QEgl::display() { |