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:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user