diff options
author | Sergio Ahumada <sergio.ahumada@digia.com> | 2013-01-09 09:16:24 +0100 |
---|---|---|
committer | Sergio Ahumada <sergio.ahumada@digia.com> | 2013-01-09 09:16:51 +0100 |
commit | 7830710e57cbbbc8a2fb37fc97eb99f552ecdd83 (patch) | |
tree | 3fe141b7921ec3820c1db13fe1827c051e8f5060 /examples/quick/scenegraph/customgeometry/main.cpp | |
parent | 0beb478b7f4c50f6b57cdc164ffe8029d2895149 (diff) | |
parent | d37547add0369d45182271754c0a35032d7de2d3 (diff) |
Merge branch 'stable' into release
Change-Id: I44631ce9d9a6aba090d01911ff62b56043510c9c
Diffstat (limited to 'examples/quick/scenegraph/customgeometry/main.cpp')
-rw-r--r-- | examples/quick/scenegraph/customgeometry/main.cpp | 3 |
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(); |