summaryrefslogtreecommitdiffstats
path: root/examples/quick/scenegraph/rendernode/main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quick/scenegraph/rendernode/main.qml')
-rw-r--r--examples/quick/scenegraph/rendernode/main.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/quick/scenegraph/rendernode/main.qml b/examples/quick/scenegraph/rendernode/main.qml
index bae77aabd3..c647aab88d 100644
--- a/examples/quick/scenegraph/rendernode/main.qml
+++ b/examples/quick/scenegraph/rendernode/main.qml
@@ -38,7 +38,7 @@
**
****************************************************************************/
-import QtQuick 2.8 // for RendererInfo
+import QtQuick 2.8
import SceneGraphRendering 2.0
Item {
@@ -89,8 +89,8 @@ Item {
anchors.right: renderer.right
anchors.margins: 20
wrapMode: Text.WordWrap
- property int api: RendererInfo.api
- text: "Custom rendering via the graphics API " + (api === RendererInfo.OpenGL ? "OpenGL" : (api === RendererInfo.Direct3D12 ? "Direct3D 12" : ""))
+ property int api: GraphicsInfo.api
+ text: "Custom rendering via the graphics API " + (api === GraphicsInfo.OpenGL ? "OpenGL" : (api === GraphicsInfo.Direct3D12 ? "Direct3D 12" : ""))
color: "yellow"
}
}