summaryrefslogtreecommitdiffstats
path: root/src/opengl/qgl.h
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@nokia.com>2011-06-23 15:37:37 +0200
committerSamuel Rødal <samuel.rodal@nokia.com>2011-06-23 15:40:42 +0200
commit8ab2f3d9bdf1119cc13567c9dd2c74879c0b0ee4 (patch)
treee3e0ef844725d8b9d79626b98a60cd94a20ebcda /src/opengl/qgl.h
parent90ac74c771b55dd6f8a9700e28278be446d8dd0d (diff)
Get declarative and wayland EGL backend working for Qt compositor.
Diffstat (limited to 'src/opengl/qgl.h')
-rw-r--r--src/opengl/qgl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/opengl/qgl.h b/src/opengl/qgl.h
index c9908ad01f..28c56a969a 100644
--- a/src/opengl/qgl.h
+++ b/src/opengl/qgl.h
@@ -394,7 +394,9 @@ public:
#ifdef Q_WS_QPA
static QGLContext *fromGuiGLContext(QGuiGLContext *platformContext);
+ QGuiGLContext *contextHandle() const;
#endif
+
protected:
virtual bool chooseContext(const QGLContext* shareContext = 0);