forked from dolphin-emu/dolphin
inline SetViewport into VertexShaderManager
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user