From d54dab87ef6e59faedcf91bfbba6ef30657f620e Mon Sep 17 00:00:00 2001 From: JordanTheToaster Date: Sun, 20 Nov 2022 03:00:59 +0000 Subject: [PATCH] Metal: Fix usage of MAD Fixes pink or frozen images of the last frame in games when using MAD with Metal. --- pcsx2/GS/Renderers/Metal/GSDeviceMTL.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcsx2/GS/Renderers/Metal/GSDeviceMTL.h b/pcsx2/GS/Renderers/Metal/GSDeviceMTL.h index f71cc0b1f4..9897c06c9a 100644 --- a/pcsx2/GS/Renderers/Metal/GSDeviceMTL.h +++ b/pcsx2/GS/Renderers/Metal/GSDeviceMTL.h @@ -242,7 +242,7 @@ public: MRCOwned> m_convert_pipeline_copy[2]; MRCOwned> m_convert_pipeline_copy_mask[1 << 4]; MRCOwned> m_merge_pipeline[4]; - MRCOwned> m_interlace_pipeline[4]; + MRCOwned> m_interlace_pipeline[NUM_INTERLACE_SHADERS]; MRCOwned> m_datm_pipeline[2]; MRCOwned> m_stencil_clear_pipeline; MRCOwned> m_primid_init_pipeline[2][2];