mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-18 12:04:17 +01:00
GS/HW: Restore scissor after draw
This commit is contained in:
1 parent
d480f19b24
commit
ce538a804d
1 file changed
+3
@@ -4724,6 +4724,9 @@ void GSRendererHW::CleanupDraw(bool invalidate_temp_src)
|
||||
if (invalidate_temp_src)
|
||||
g_texture_cache->InvalidateTemporarySource();
|
||||
|
||||
// Restore Scissor.
|
||||
m_context->UpdateScissor();
|
||||
|
||||
// Restore offsets.
|
||||
if ((m_context->FRAME.U32[0] ^ m_cached_ctx.FRAME.U32[0]) & 0x3f3f01ff)
|
||||
m_context->offset.fb = m_mem.GetOffset(m_context->FRAME.Block(), m_context->FRAME.FBW, m_context->FRAME.PSM);
|
||||
|
||||
Reference in new issue
Block a user