aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/scenegraph/graph/gridnode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quick/scenegraph/graph/gridnode.cpp')
-rw-r--r--examples/quick/scenegraph/graph/gridnode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/quick/scenegraph/graph/gridnode.cpp b/examples/quick/scenegraph/graph/gridnode.cpp
index f2b4ca3cf8..3597247cd4 100644
--- a/examples/quick/scenegraph/graph/gridnode.cpp
+++ b/examples/quick/scenegraph/graph/gridnode.cpp
@@ -58,7 +58,7 @@ GridNode::GridNode()
: m_geometry(QSGGeometry::defaultAttributes_Point2D(), 0)
{
setGeometry(&m_geometry);
- m_geometry.setDrawingMode(GL_LINES);
+ m_geometry.setDrawingMode(QSGGeometry::DrawLines);
setMaterial(&m_material);
m_material.setColor(Qt::gray);