summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/advancedcustommaterial/WaterMaterial.qml
diff options
context:
space:
mode:
authorMike Krus <mike.krus@kdab.com>2017-05-02 19:15:38 +0100
committerMike Krus <mike.krus@kdab.com>2017-05-03 20:24:34 +0000
commit1d3ffb4cadfd43e163bf977c03a48f3b9cbb1f30 (patch)
tree1948e43218d57061e04dc1cff2f15d5637f69370 /examples/qt3d/advancedcustommaterial/WaterMaterial.qml
parent629e5ed81b9b584196beafdddccdd85365510975 (diff)
Correct shader typo for rendering and fix shader selection
Task-number: QTBUG-60288 Change-Id: I320f787c3b245cc52df80d89c75f856aeacf649d Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'examples/qt3d/advancedcustommaterial/WaterMaterial.qml')
-rw-r--r--examples/qt3d/advancedcustommaterial/WaterMaterial.qml5
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/qt3d/advancedcustommaterial/WaterMaterial.qml b/examples/qt3d/advancedcustommaterial/WaterMaterial.qml
index 2c5410bea..b67e8322c 100644
--- a/examples/qt3d/advancedcustommaterial/WaterMaterial.qml
+++ b/examples/qt3d/advancedcustommaterial/WaterMaterial.qml
@@ -228,12 +228,11 @@ Material {
}
},
- // OpenGL 2.0
+ // OpenGLES 2.0
Technique {
filterKeys: [ forward ]
graphicsApiFilter {
- api: GraphicsApiFilter.OpenGL
- profile: GraphicsApiFilter.NoProfile
+ api: GraphicsApiFilter.OpenGLES
majorVersion: 2
minorVersion: 0
}