summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;