summaryrefslogtreecommitdiffstats
path: root/src/opengl/qgl_p.h
diff options
context:
space:
mode:
authorRhys Weatherley <rhys.weatherley@nokia.com>2009-09-24 23:42:43 (GMT)
committerRhys Weatherley <rhys.weatherley@nokia.com>2009-09-24 23:42:43 (GMT)
commit7421f79f57f475b9e96e53e5cbd9861c428d4ae3 (patch)
tree0fa825c9c29be98c9ba02c191fe3a2001702416e /src/opengl/qgl_p.h
parentf6dee67827e72a0660f37998dafb18c6ccd9834e (diff)
downloadQt-7421f79f57f475b9e96e53e5cbd9861c428d4ae3.zip
Qt-7421f79f57f475b9e96e53e5cbd9861c428d4ae3.tar.gz
Qt-7421f79f57f475b9e96e53e5cbd9861c428d4ae3.tar.bz2
Start to separate the EGLSurface from QEglContext in QtOpenGL
Also, move the EGL makeCurrent(), doneCurrent(), swapBuffers(), and reset() functions into the common qgl_egl.cpp. Reviewed-by: Sarah Smith
Diffstat (limited to 'src/opengl/qgl_p.h')
-rw-r--r--src/opengl/qgl_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/opengl/qgl_p.h b/src/opengl/qgl_p.h
index 7269195..2e8ac88 100644
--- a/src/opengl/qgl_p.h
+++ b/src/opengl/qgl_p.h
@@ -295,6 +295,7 @@ public:
#endif
#if defined(QT_OPENGL_ES)
QEglContext *eglContext;
+ EGLSurface eglSurface;
#elif defined(Q_WS_X11) || defined(Q_WS_MAC)
void* cx;
#endif