summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorSean Harmer <sean.harmer@kdab.com>2016-01-19 15:21:02 +0000
committerSean Harmer <sean.harmer@kdab.com>2016-01-25 08:55:24 +0000
commitd798eb52ae1b22fa38d398cdae0012a34cb51922 (patch)
tree04bd46f84f31779a28534fe8651c06ca73bf23fd /examples
parent48c0d83d553ab3d26182c3117051b022c5c23d3b (diff)
Don't complain about missing stencil buffer
Change-Id: I084dbf2357468ca8c9b4e189cb5aeffaf3206825 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/qt3d/planets-qml/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/qt3d/planets-qml/main.cpp b/examples/qt3d/planets-qml/main.cpp
index 7345e27f3..30c89ed87 100644
--- a/examples/qt3d/planets-qml/main.cpp
+++ b/examples/qt3d/planets-qml/main.cpp
@@ -48,6 +48,7 @@ int main(int argc, char **argv)
format.setProfile(QSurfaceFormat::CoreProfile);
}
format.setDepthBufferSize(24);
+ format.setStencilBufferSize(8);
format.setSamples(4);
QQuickView view;