mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
VideoCommon: Rework scissor handling
This increases accuracy, fixing the white rendering in Major Minor's Majestic March. However, the hardware backends can only have one viewport and scissor rectangle at a time, while sometimes multiple are needed to accurately emulate what is happening. If possible, this will need to be fixed later.
This commit is contained in:
parent
4595b89ad8
commit
076392a0f6
6 changed files with 283 additions and 48 deletions
|
@ -298,7 +298,7 @@ void VertexShaderManager::SetConstants()
|
|||
}
|
||||
|
||||
dirty = true;
|
||||
BPFunctions::SetViewport();
|
||||
BPFunctions::SetScissorAndViewport();
|
||||
}
|
||||
|
||||
if (bProjectionChanged || g_freelook_camera.GetController()->IsDirty())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue