diff options
author | Samuel Rødal <samuel.rodal@nokia.com> | 2011-06-23 15:37:37 +0200 |
---|---|---|
committer | Samuel Rødal <samuel.rodal@nokia.com> | 2011-06-23 15:40:42 +0200 |
commit | 8ab2f3d9bdf1119cc13567c9dd2c74879c0b0ee4 (patch) | |
tree | e3e0ef844725d8b9d79626b98a60cd94a20ebcda /src/opengl/qgl_qpa.cpp | |
parent | 90ac74c771b55dd6f8a9700e28278be446d8dd0d (diff) |
Get declarative and wayland EGL backend working for Qt compositor.
Diffstat (limited to 'src/opengl/qgl_qpa.cpp')
-rw-r--r-- | src/opengl/qgl_qpa.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/opengl/qgl_qpa.cpp b/src/opengl/qgl_qpa.cpp index 7a4fb2c1a7..cfd651e39d 100644 --- a/src/opengl/qgl_qpa.cpp +++ b/src/opengl/qgl_qpa.cpp @@ -386,6 +386,12 @@ QGLContext::QGLContext(QGuiGLContext *context) d->setupSharing(); } +QGuiGLContext *QGLContext::contextHandle() const +{ + Q_D(const QGLContext); + return d->guiGlContext; +} + /*! Returns a OpenGL context for the window context specified by \a windowContext */ |