inline SetViewport into VertexShaderManager

This commit is contained in:
degasus 2014-02-15 18:57:55 +01:00
commit 647aad0a19
4 changed files with 5 additions and 9 deletions

View file

@ -372,7 +372,7 @@ void VertexShaderManager::SetConstants()
constants.depthparams[1] = xfregs.viewport.zRange / 16777216.0f;
dirty = true;
// This is so implementation-dependent that we can't have it here.
SetViewport();
g_renderer->SetViewport();
// Update projection if the viewport isn't 1:1 useable
if(!g_ActiveConfig.backend_info.bSupportsOversizedViewports)