aboutsummaryrefslogtreecommitdiffstats
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.qml5
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/quick/scenegraph/rendernode/main.qml b/examples/quick/scenegraph/rendernode/main.qml
index a91656dfaa..7c8d82181f 100644
--- a/examples/quick/scenegraph/rendernode/main.qml
+++ b/examples/quick/scenegraph/rendernode/main.qml
@@ -90,7 +90,10 @@ Item {
anchors.margins: 20
wrapMode: Text.WordWrap
property int api: GraphicsInfo.api
- text: "Custom rendering via the graphics API " + (api === GraphicsInfo.OpenGL ? "OpenGL" : (api === GraphicsInfo.Direct3D12 ? "Direct3D 12" : ""))
+ text: "Custom rendering via the graphics API "
+ + (api === GraphicsInfo.OpenGL ? "OpenGL"
+ : api === GraphicsInfo.Direct3D12 ? "Direct3D 12"
+ : api === GraphicsInfo.Software ? "Software" : "")
color: "yellow"
}
}