mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
inline SetViewport into VertexShaderManager
This commit is contained in:
parent
d5f1f0d4a9
commit
647aad0a19
4 changed files with 5 additions and 9 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue