summaryrefslogtreecommitdiff
path: root/src/client/render/anaglyph.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/render/anaglyph.cpp')
-rw-r--r--src/client/render/anaglyph.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/render/anaglyph.cpp b/src/client/render/anaglyph.cpp
index 9ba4464a2..153e77400 100644
--- a/src/client/render/anaglyph.cpp
+++ b/src/client/render/anaglyph.cpp
@@ -40,7 +40,7 @@ void RenderingCoreAnaglyph::setupMaterial(int color_mask)
void RenderingCoreAnaglyph::useEye(bool right)
{
RenderingCoreStereo::useEye(right);
- driver->clearZBuffer();
+ driver->clearBuffers(video::ECBF_DEPTH);
setupMaterial(right ? video::ECP_GREEN | video::ECP_BLUE : video::ECP_RED);
}