From 2334787f1bd64cfc08b4e9dad1918b736fd6dcd3 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Thu, 30 Jan 2020 20:13:48 +0100 Subject: [PATCH] - reenabled the depth test for Polymost. This was for debugging but accidentally left in. --- source/build/src/polymost.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/build/src/polymost.cpp b/source/build/src/polymost.cpp index 7c98d5c96..f6582ff06 100644 --- a/source/build/src/polymost.cpp +++ b/source/build/src/polymost.cpp @@ -3182,7 +3182,7 @@ void polymost_drawrooms() GLInterface.EnableBlend(false); GLInterface.EnableAlphaTest(false); GLInterface.EnableDepthTest(true); - GLInterface.SetDepthFunc(Depth_Always); + GLInterface.SetDepthFunc(Depth_LessEqual); GLInterface.SetBrightness(r_scenebrightness);