GS/HW: Restore scissor after draw

This commit is contained in:
refractionpcsx2 2023-09-12 09:42:46 +01:00
parent d480f19b24
commit ce538a804d
1 changed files with 3 additions and 0 deletions

View File

@ -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);