summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/advancedcustommaterial/WaterMaterial.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qt3d/advancedcustommaterial/WaterMaterial.qml')
-rw-r--r--examples/qt3d/advancedcustommaterial/WaterMaterial.qml7
1 files changed, 3 insertions, 4 deletions
diff --git a/examples/qt3d/advancedcustommaterial/WaterMaterial.qml b/examples/qt3d/advancedcustommaterial/WaterMaterial.qml
index 5278d8752..b67e8322c 100644
--- a/examples/qt3d/advancedcustommaterial/WaterMaterial.qml
+++ b/examples/qt3d/advancedcustommaterial/WaterMaterial.qml
@@ -228,17 +228,16 @@ Material {
}
},
- // OpenGL 2.1
+ // OpenGLES 2.0
Technique {
filterKeys: [ forward ]
graphicsApiFilter {
- api: GraphicsApiFilter.OpenGL
- profile: GraphicsApiFilter.NoProfile
+ api: GraphicsApiFilter.OpenGLES
majorVersion: 2
minorVersion: 0
}
renderPasses: RenderPass {
- shaderProgram: gl3Shader
+ shaderProgram: esShader
renderStates: [ alphaCoverage ]
}
},