diff options
author | Jørgen Lind <jorgen.lind@nokia.com> | 2011-05-08 08:53:56 (GMT) |
---|---|---|
committer | Jørgen Lind <jorgen.lind@nokia.com> | 2011-05-09 10:05:18 (GMT) |
commit | b4068161ecc7789e04054508f969fa924d0cc0b1 (patch) | |
tree | 3f1c95628a7358b2fe42d32aa018ce3636f93afc /src | |
parent | 3a93262bcf39de34c3655ca83642c1a5bb3a7d96 (diff) | |
download | Qt-b4068161ecc7789e04054508f969fa924d0cc0b1.zip Qt-b4068161ecc7789e04054508f969fa924d0cc0b1.tar.gz Qt-b4068161ecc7789e04054508f969fa924d0cc0b1.tar.bz2 |
Fix the wayland windowsurface so that we have stencil and depth buffer
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/platforms/wayland/gl_integration/qwaylandglwindowsurface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforms/wayland/gl_integration/qwaylandglwindowsurface.cpp b/src/plugins/platforms/wayland/gl_integration/qwaylandglwindowsurface.cpp index ebe4c7b..7929ccb 100644 --- a/src/plugins/platforms/wayland/gl_integration/qwaylandglwindowsurface.cpp +++ b/src/plugins/platforms/wayland/gl_integration/qwaylandglwindowsurface.cpp @@ -178,7 +178,7 @@ void QWaylandGLWindowSurface::resize(const QSize &size) QWindowSurface::resize(size); window()->platformWindow()->glContext()->makeCurrent(); delete mPaintDevice; - mPaintDevice = new QGLFramebufferObject(size); + mPaintDevice = new QGLFramebufferObject(size,QGLFramebufferObject::CombinedDepthStencil); } QT_END_NAMESPACE |