diff options
Diffstat (limited to 'src/opengl/qgl_p.h')
-rw-r--r-- | src/opengl/qgl_p.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/opengl/qgl_p.h b/src/opengl/qgl_p.h index ecd8b43..ed34f79 100644 --- a/src/opengl/qgl_p.h +++ b/src/opengl/qgl_p.h @@ -64,14 +64,8 @@ #include "qcache.h" #include "qglpaintdevice_p.h" -#ifdef QT_OPENGL_ES -QT_BEGIN_INCLUDE_NAMESPACE -#if defined(QT_OPENGL_ES_2) -#include <EGL/egl.h> -#else -#include <GLES/egl.h> -#endif -QT_END_INCLUDE_NAMESPACE +#if defined(QT_OPENGL_ES) || defined(QT_OPENGL_ES_2) +#include <QtGui/private/qegl_p.h> #endif QT_BEGIN_NAMESPACE @@ -356,6 +350,7 @@ public: QEglContext *eglContext; EGLSurface eglSurface; void destroyEglSurfaceForDevice(); + EGLSurface eglSurfaceForDevice() const; #elif defined(Q_WS_X11) || defined(Q_WS_MAC) void* cx; #endif |