remove now unnecessary glPolygonMode from ResetAPIState

This commit is contained in:
Jordan Woyak 2011-11-29 22:02:18 -06:00
parent 88700e817a
commit 0dfca1cf2b
1 changed files with 0 additions and 4 deletions

View File

@ -1426,10 +1426,6 @@ void Renderer::ResetAPIState()
glDisable(GL_BLEND); glDisable(GL_BLEND);
glDepthMask(GL_FALSE); glDepthMask(GL_FALSE);
glColorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE); glColorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE);
// make sure to disable wireframe when drawing the clear quad
// TODO: ClearScreen no longer draws a quad. Can this be killed?
glPolygonMode(GL_FRONT_AND_BACK, GL_FILL);
} }
void Renderer::RestoreAPIState() void Renderer::RestoreAPIState()