]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - gl_rmain.c
Comment out a line in setmodel again (needs fixing but wasn't in there before anyway)
[xonotic/darkplaces.git] / gl_rmain.c
index ec66a384d65d46135b6e520ce7bab68ed50b99ad..8d03b5ac8b0bd3f46b1161c6832480ed533ace9e 100644 (file)
@@ -3711,6 +3711,10 @@ void R_RenderView(void)
                R_ClearScreen(r_refdef.fogenabled);
                if (r_timereport_active)
                        R_TimeReport("viewclear");
+       } else {
+               // TODO: FIXME: move this into its own backend function maybe? [2/5/2008 Andreas]
+               GL_Clear( GL_DEPTH_BUFFER_BIT );
+               R_TimeReport("depthclear");
        }
        r_refdef.view.clear = true;