mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +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
|
@ -130,6 +130,7 @@ static void BPWritten(const BPCmd& bp)
|
|||
case BPMEM_SCISSORBR: // Scissor Rectable Bottom, Right
|
||||
case BPMEM_SCISSOROFFSET: // Scissor Offset
|
||||
SetScissor();
|
||||
SetViewport();
|
||||
VertexShaderManager::SetViewportChanged();
|
||||
GeometryShaderManager::SetViewportChanged();
|
||||
return;
|
||||
|
@ -1415,6 +1416,7 @@ void BPReload()
|
|||
// note that PixelShaderManager is already covered since it has its own DoState.
|
||||
SetGenerationMode();
|
||||
SetScissor();
|
||||
SetViewport();
|
||||
SetDepthMode();
|
||||
SetBlendMode();
|
||||
OnPixelFormatChange();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue