summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/playground-qml/AnimatedDiffuseMaterial.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qt3d/playground-qml/AnimatedDiffuseMaterial.qml')
-rw-r--r--examples/qt3d/playground-qml/AnimatedDiffuseMaterial.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/qt3d/playground-qml/AnimatedDiffuseMaterial.qml b/examples/qt3d/playground-qml/AnimatedDiffuseMaterial.qml
index 2e4333bb3..68375d092 100644
--- a/examples/qt3d/playground-qml/AnimatedDiffuseMaterial.qml
+++ b/examples/qt3d/playground-qml/AnimatedDiffuseMaterial.qml
@@ -181,7 +181,7 @@ Material {
renderStates : [BlendState {srcRGB: BlendState.One; dstRGB : BlendState.One},
BlendEquation {mode: BlendEquation.FuncAdd},
CullFace { mode : CullFace.Back },
- DepthTest { func : DepthTest.LessOrEqual}
+ DepthTest { depthFunction : DepthTest.LessOrEqual}
]
shaderProgram : ShaderProgram {
vertexShaderCode: "