1
0
forked from mirrors/0ad

Fixes debug drawing of a null shadow texture introduced in 36107cb7e1, appeared after abc3190c03.

Reported By: nwtour
This was SVN commit r26173.
This commit is contained in:
vladislavbelov
2022-01-06 11:04:45 +00:00
parent f07fa81661
commit 27c8771a3a
+3
View File
@@ -775,6 +775,9 @@ void ShadowMap::RenderDebugBounds()
void ShadowMap::RenderDebugTexture()
{
if (!m->Texture)
return;
glDepthMask(0);
glDisable(GL_DEPTH_TEST);