aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/scenegraph
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quick/scenegraph')
-rw-r--r--examples/quick/scenegraph/rendernode/customrenderitem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/quick/scenegraph/rendernode/customrenderitem.cpp b/examples/quick/scenegraph/rendernode/customrenderitem.cpp
index 4070a86395..433f3c5a1e 100644
--- a/examples/quick/scenegraph/rendernode/customrenderitem.cpp
+++ b/examples/quick/scenegraph/rendernode/customrenderitem.cpp
@@ -59,7 +59,7 @@ QSGNode *CustomRenderItem::updatePaintNode(QSGNode *node, UpdatePaintNodeData *)
QSGRendererInterface *ri = window()->rendererInterface();
if (!ri)
return nullptr;
- switch (ri->graphicsAPI()) {
+ switch (ri->graphicsApi()) {
case QSGRendererInterface::OpenGL:
#ifndef QT_NO_OPENGL
n = new OpenGLRenderNode(this);