ogl: don't call SetViewportChanged from backend as it's not needed any more

This commit is contained in:
degasus
2013-10-14 15:28:47 +02:00
parent 3151d8709c
commit acc0b3b21c
4 changed files with 1 additions and 8 deletions

View File

@ -1661,7 +1661,7 @@ void Renderer::RestoreAPIState()
SetDepthMode();
SetBlendMode(true);
SetLogicOpMode();
VertexShaderManager::SetViewportChanged();
UpdateViewport();
#ifndef USE_GLES3
glPolygonMode(GL_FRONT_AND_BACK, g_ActiveConfig.bWireFrame ? GL_LINE : GL_FILL);