From 0dfca1cf2be54efbc88adcbdece61830ea92f32b Mon Sep 17 00:00:00 2001 From: Jordan Woyak Date: Tue, 29 Nov 2011 22:02:18 -0600 Subject: [PATCH] remove now unnecessary glPolygonMode from ResetAPIState --- Source/Plugins/Plugin_VideoOGL/Src/Render.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp b/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp index c5f5212e95..6a373dd4e8 100644 --- a/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp +++ b/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp @@ -1426,10 +1426,6 @@ void Renderer::ResetAPIState() glDisable(GL_BLEND); glDepthMask(GL_FALSE); 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()