summaryrefslogtreecommitdiffstats
path: root/src/gui/egl
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/egl')
-rw-r--r--src/gui/egl/qegl.cpp2
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()
{