From a86febf876f85d1b460463aa48ff8b319285f7ba Mon Sep 17 00:00:00 2001 From: Laszlo Agocs Date: Wed, 17 Jun 2020 11:34:28 +0200 Subject: Fix GL_ constant usage in examples Change-Id: Iecfa47845edb78928b388d150a3229f8c7a93d5d Reviewed-by: Paul Olav Tvete --- examples/quick/scenegraph/graph/gridnode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/quick/scenegraph/graph/gridnode.cpp') 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); -- cgit v1.2.3