Removes unused debug render from ShadowMap.
This was SVN commit r25284.
This commit is contained in:
parent
b7e6811ea6
commit
769b0426a7
@ -714,38 +714,6 @@ void ShadowMap::RenderDebugBounds()
|
||||
|
||||
shaderTech->EndPass();
|
||||
|
||||
#if 0
|
||||
CMatrix3D InvTexTransform;
|
||||
|
||||
m->TextureMatrix.GetInverse(InvTexTransform);
|
||||
|
||||
// Render representative texture rectangle
|
||||
glPushMatrix();
|
||||
glMultMatrixf(&InvTexTransform._11);
|
||||
|
||||
glEnable(GL_BLEND);
|
||||
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
|
||||
glColor4ub(255,0,0,64);
|
||||
glBegin(GL_QUADS);
|
||||
glVertex3f(0.0, 0.0, 0.0);
|
||||
glVertex3f(1.0, 0.0, 0.0);
|
||||
glVertex3f(1.0, 1.0, 0.0);
|
||||
glVertex3f(0.0, 1.0, 0.0);
|
||||
glEnd();
|
||||
glDisable(GL_BLEND);
|
||||
|
||||
glPolygonMode(GL_FRONT_AND_BACK, GL_LINE);
|
||||
glColor3ub(255,0,0);
|
||||
glBegin(GL_QUADS);
|
||||
glVertex3f(0.0, 0.0, 0.0);
|
||||
glVertex3f(1.0, 0.0, 0.0);
|
||||
glVertex3f(1.0, 1.0, 0.0);
|
||||
glVertex3f(0.0, 1.0, 0.0);
|
||||
glEnd();
|
||||
glPolygonMode(GL_FRONT_AND_BACK, GL_FILL);
|
||||
glPopMatrix();
|
||||
#endif
|
||||
|
||||
glEnable(GL_CULL_FACE);
|
||||
glDepthMask(1);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user