summaryrefslogtreecommitdiffstats
path: root/tests/manual
diff options
context:
space:
mode:
authorPaul Lemire <paul.lemire@kdab.com>2018-12-21 14:27:48 +0100
committerMike Krus <mike.krus@kdab.com>2018-12-21 15:12:01 +0000
commit080f9d0b99b0d2e7e179a41d901096e595000448 (patch)
tree5fb5abda642ac3152dc06d6be192e288b6924578 /tests/manual
parentee7d7c3d7d061902d1ad5409e33f141da61f0b07 (diff)
texture_property_updates test: specify texture format
It used to work before because it would default to RGBA_Unorm but that should be either deduced when using a QTextureLoader or specified when using a raw QTexture2D Change-Id: I930ce490a393f48b870d4e2c1f15e0551c468f2d Reviewed-by: Mike Krus <mike.krus@kdab.com>
Diffstat (limited to 'tests/manual')
-rw-r--r--tests/manual/texture_property_updates/main.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/manual/texture_property_updates/main.qml b/tests/manual/texture_property_updates/main.qml
index ebefdc725..f1256c75b 100644
--- a/tests/manual/texture_property_updates/main.qml
+++ b/tests/manual/texture_property_updates/main.qml
@@ -91,12 +91,14 @@ QQ2.Item {
}
readonly property Texture texture3: Texture2D {
+ format: Texture.RGBA8_UNorm
textureImages: TextureImage {
source: textureSource
}
}
readonly property Texture texture4: Texture2D {
+ format: Texture.RGBA8_UNorm
textureImages: TextureImage {
source: textureSource
}