diff options
author | Jørgen Lind <jorgen.lind@nokia.com> | 2010-11-15 15:18:25 (GMT) |
---|---|---|
committer | Jørgen Lind <jorgen.lind@nokia.com> | 2010-11-22 13:12:47 (GMT) |
commit | 687d44569dbccea72c582c6d7da9a271ae2c86c8 (patch) | |
tree | c20aa5e504e8fbbf85068be824053a30eea2e025 /src/opengl | |
parent | c5a085cb82a9b8e91e37575e19014b60dd2e4216 (diff) | |
download | Qt-687d44569dbccea72c582c6d7da9a271ae2c86c8.zip Qt-687d44569dbccea72c582c6d7da9a271ae2c86c8.tar.gz Qt-687d44569dbccea72c582c6d7da9a271ae2c86c8.tar.bz2 |
No more windowsurface for QGLWidget in Lighthouse
Reviewed-by: paul
Diffstat (limited to 'src/opengl')
-rw-r--r-- | src/opengl/qgl_qpa.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/opengl/qgl_qpa.cpp b/src/opengl/qgl_qpa.cpp index 4b530de..1197013 100644 --- a/src/opengl/qgl_qpa.cpp +++ b/src/opengl/qgl_qpa.cpp @@ -134,6 +134,7 @@ bool QGLContext::chooseContext(const QGLContext* shareContext) winFormat.setSharedContext(shareContext->d_func()->platformContext); } winFormat.setWindowApi(QPlatformWindowFormat::OpenGL); + winFormat.setWindowSurface(false); widget->setPlatformWindowFormat(winFormat); widget->winId();//make window } |