summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2011-05-08 08:53:56 (GMT)
committerJørgen Lind <jorgen.lind@nokia.com>2011-05-30 15:29:00 (GMT)
commit322c96eb9564f930a63be820c22b053630663880 (patch)
tree2a2c1755d84d462e9a440717b1469ebee9656814
parentaf3efefeefe686e5c35ed502de077c0bcb6f6fc0 (diff)
downloadQt-322c96eb9564f930a63be820c22b053630663880.zip
Qt-322c96eb9564f930a63be820c22b053630663880.tar.gz
Qt-322c96eb9564f930a63be820c22b053630663880.tar.bz2
Fix the wayland windowsurface so that we have stencil and depth buffer
-rw-r--r--src/plugins/platforms/wayland/gl_integration/qwaylandglwindowsurface.cpp2
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