aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/scenegraph/customgeometry
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@qt.io>2020-06-17 11:34:28 +0200
committerLaszlo Agocs <laszlo.agocs@qt.io>2020-06-17 17:42:02 +0200
commita86febf876f85d1b460463aa48ff8b319285f7ba (patch)
tree6b71d40e8fd3f378fb0d99ec56321fe1b55aeef4 /examples/quick/scenegraph/customgeometry
parent83fb4f6743860bfb746e6243aad00513d498db4f (diff)
Fix GL_ constant usage in examples
Change-Id: Iecfa47845edb78928b388d150a3229f8c7a93d5d Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Diffstat (limited to 'examples/quick/scenegraph/customgeometry')
-rw-r--r--examples/quick/scenegraph/customgeometry/doc/src/customgeometry.qdoc2
-rw-r--r--examples/quick/scenegraph/customgeometry/main.qml2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/quick/scenegraph/customgeometry/doc/src/customgeometry.qdoc b/examples/quick/scenegraph/customgeometry/doc/src/customgeometry.qdoc
index bd235e5dfb..68b041b3ca 100644
--- a/examples/quick/scenegraph/customgeometry/doc/src/customgeometry.qdoc
+++ b/examples/quick/scenegraph/customgeometry/doc/src/customgeometry.qdoc
@@ -180,7 +180,7 @@
\quotefile scenegraph/customgeometry/customgeometry.pro
- As the bezier curve is drawn using GL_LINE_STRIP, we specify that
+ As the bezier curve is drawn as line strips, we specify that
the view should be multisampled to get antialiasing. This is not
required, but it will make the item look a bit nicer on hardware
that supports it. Multisampling is not enabled by default because
diff --git a/examples/quick/scenegraph/customgeometry/main.qml b/examples/quick/scenegraph/customgeometry/main.qml
index fd984520f2..6158b6554f 100644
--- a/examples/quick/scenegraph/customgeometry/main.qml
+++ b/examples/quick/scenegraph/customgeometry/main.qml
@@ -79,7 +79,7 @@ Item {
width: parent.width - 40
wrapMode: Text.WordWrap
- text: "This curve is a custom scene graph item, implemented using GL_LINE_STRIP"
+ text: "This curve is a custom scene graph item, implemented using line strips"
}
}
//! [4]