remove now unnecessary glPolygonMode from ResetAPIState
This commit is contained in:
parent
88700e817a
commit
0dfca1cf2b
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue