From 8ab2f3d9bdf1119cc13567c9dd2c74879c0b0ee4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20R=C3=B8dal?= Date: Thu, 23 Jun 2011 15:37:37 +0200 Subject: Get declarative and wayland EGL backend working for Qt compositor. --- src/opengl/qgl_qpa.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/opengl/qgl_qpa.cpp') 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 */ -- cgit v1.2.3