aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/scenegraph/customgeometry/main.cpp
diff options
context:
space:
mode:
authorSergio Ahumada <sergio.ahumada@digia.com>2013-01-09 09:16:24 +0100
committerSergio Ahumada <sergio.ahumada@digia.com>2013-01-09 09:16:51 +0100
commit7830710e57cbbbc8a2fb37fc97eb99f552ecdd83 (patch)
tree3fe141b7921ec3820c1db13fe1827c051e8f5060 /examples/quick/scenegraph/customgeometry/main.cpp
parent0beb478b7f4c50f6b57cdc164ffe8029d2895149 (diff)
parentd37547add0369d45182271754c0a35032d7de2d3 (diff)
Merge branch 'stable' into release
Diffstat (limited to 'examples/quick/scenegraph/customgeometry/main.cpp')
-rw-r--r--examples/quick/scenegraph/customgeometry/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/quick/scenegraph/customgeometry/main.cpp b/examples/quick/scenegraph/customgeometry/main.cpp
index ea699c1c36..f2ec27d229 100644
--- a/examples/quick/scenegraph/customgeometry/main.cpp
+++ b/examples/quick/scenegraph/customgeometry/main.cpp
@@ -52,6 +52,9 @@ int main(int argc, char **argv)
qmlRegisterType<BezierCurve>("CustomGeometry", 1, 0, "BezierCurve");
QQuickView view;
+ QSurfaceFormat format;
+ format.setSamples(16);
+ view.setFormat(format);
view.setSource(QUrl("qrc:///scenegraph/customgeometry/main.qml"));
view.show();