summaryrefslogtreecommitdiffstats
path: root/src/render/defaults/qnormaldiffusemapalphamaterial.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/defaults/qnormaldiffusemapalphamaterial.cpp')
-rw-r--r--src/render/defaults/qnormaldiffusemapalphamaterial.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/defaults/qnormaldiffusemapalphamaterial.cpp b/src/render/defaults/qnormaldiffusemapalphamaterial.cpp
index 075c55d5d..601b5dce9 100644
--- a/src/render/defaults/qnormaldiffusemapalphamaterial.cpp
+++ b/src/render/defaults/qnormaldiffusemapalphamaterial.cpp
@@ -97,7 +97,7 @@ void QNormalDiffuseMapAlphaMaterialPrivate::init()
m_normalDiffuseGL2Technique->addAnnotation(m_annotation);
m_normalDiffuseES2Technique->addAnnotation(m_annotation);
- m_depthTest->setFunc(QDepthTest::Less);
+ m_depthTest->setDepthFunction(QDepthTest::Less);
m_normalDiffuseGL3RenderPass->setShaderProgram(m_normalDiffuseGL3Shader);
m_normalDiffuseGL3RenderPass->addRenderState(m_alphaCoverage);