mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-06 08:09:19 +00:00
BPFunctions: Move GX viewport conversion to VideoCommon
This commit is contained in:
parent
a2d2a0a356
commit
5359396099
12 changed files with 111 additions and 165 deletions
|
@ -16,6 +16,7 @@
|
|||
#include "Common/MathUtil.h"
|
||||
#include "Core/ConfigManager.h"
|
||||
#include "Core/Core.h"
|
||||
#include "VideoCommon/BPFunctions.h"
|
||||
#include "VideoCommon/BPMemory.h"
|
||||
#include "VideoCommon/CPMemory.h"
|
||||
#include "VideoCommon/RenderBase.h"
|
||||
|
@ -420,8 +421,7 @@ void VertexShaderManager::SetConstants()
|
|||
}
|
||||
|
||||
dirty = true;
|
||||
// This is so implementation-dependent that we can't have it here.
|
||||
g_renderer->SetViewport();
|
||||
BPFunctions::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