fixed glDepthMask and thus shadows

This commit is contained in:
Zeno Rogue
2019-09-12 22:50:00 +02:00
parent 32c43f7dd9
commit 6aeba2d906
2 changed files with 5 additions and 2 deletions
+3
View File
@@ -411,6 +411,9 @@ void setGLProjection(color_t col) {
GLERR("setGLProjection");
reset_projection();
glhr::set_depthwrite(true);
glClear(GL_DEPTH_BUFFER_BIT);
}
inline int next_p2 (int a )