From ba2f779991ea3b23e8009064605920bb9a4b62c4 Mon Sep 17 00:00:00 2001 From: fleroviux Date: Thu, 11 Jan 2024 21:33:30 +0100 Subject: [PATCH] gpu: MTX_RESTORE should mark the clip matrix as dirty --- src/dual/src/nds/video_unit/gpu/command_processor/matrix.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/dual/src/nds/video_unit/gpu/command_processor/matrix.cpp b/src/dual/src/nds/video_unit/gpu/command_processor/matrix.cpp index 711a0cb..1341b4c 100644 --- a/src/dual/src/nds/video_unit/gpu/command_processor/matrix.cpp +++ b/src/dual/src/nds/video_unit/gpu/command_processor/matrix.cpp @@ -111,6 +111,7 @@ namespace dual::nds::gpu { } m_coordinate_mtx = m_coordinate_mtx_stack[stack_address]; m_direction_mtx = m_direction_mtx_stack[stack_address]; + m_clip_mtx_dirty = true; break; } case 3: m_texture_mtx = m_texture_mtx_stack; break;