aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/quick/scenegraph/rhitextureitem/main.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/quick/scenegraph/rhitextureitem/main.qml b/examples/quick/scenegraph/rhitextureitem/main.qml
index dd664eaa57..3eec8bcdab 100644
--- a/examples/quick/scenegraph/rhitextureitem/main.qml
+++ b/examples/quick/scenegraph/rhitextureitem/main.qml
@@ -36,10 +36,10 @@ Item {
fixedColorBufferWidth: cbSize.checked ? slSize.value.toFixed(0) : 0
fixedColorBufferHeight: cbSize.checked ? slSize.value.toFixed(0) : 0
alphaBlending: cbBlend.checked
- colorBufferFormat: rdFormatRGBA8.checked ? ExampleRhiItem.RGBA8
- : rdFormatFP16.checked ? ExampleRhiItem.RGBA16F
- : rdFormatFP32.checked ? ExampleRhiItem.RGBA32F
- : ExampleRhiItem.RGB10A2
+ colorBufferFormat: rdFormatRGBA8.checked ? ExampleRhiItem.TextureFormat.RGBA8
+ : rdFormatFP16.checked ? ExampleRhiItem.TextureFormat.RGBA16F
+ : rdFormatFP32.checked ? ExampleRhiItem.TextureFormat.RGBA32F
+ : ExampleRhiItem.TextureFormat.RGB10A2
// custom properties provided by the QQuickRhiItem subclass: angle, backgroundAlpha
NumberAnimation on angle {