1
0
forked from mirrors/0ad

Splits debug display of frustums for an easier debugging of a culling and shadows

This was SVN commit r23395.
This commit is contained in:
vladislavbelov
2020-01-14 23:51:29 +00:00
parent dc56447328
commit 49415f8716
7 changed files with 36 additions and 6 deletions
+4
View File
@@ -800,6 +800,8 @@ void ShadowMap::RenderDebugBounds()
glEnable(GL_CULL_FACE);
glDepthMask(1);
ogl_WarnIfError();
}
void ShadowMap::RenderDebugTexture()
@@ -844,4 +846,6 @@ void ShadowMap::RenderDebugTexture()
glEnable(GL_DEPTH_TEST);
glDepthMask(1);
ogl_WarnIfError();
}