From 2257103ee612f411a0f062e58ac3f71d7d4112cc Mon Sep 17 00:00:00 2001 From: lightningterror <18107717+lightningterror@users.noreply.github.com> Date: Sat, 2 Jul 2022 22:29:52 +0200 Subject: [PATCH] GS-hw: Fix Wunused-but-set-variable warning. --- pcsx2/GS/Renderers/HW/GSRendererHW.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/pcsx2/GS/Renderers/HW/GSRendererHW.cpp b/pcsx2/GS/Renderers/HW/GSRendererHW.cpp index 6c015b39fc..80a2dfcda8 100644 --- a/pcsx2/GS/Renderers/HW/GSRendererHW.cpp +++ b/pcsx2/GS/Renderers/HW/GSRendererHW.cpp @@ -3754,8 +3754,6 @@ bool GSRendererHW::SwPrimRender() bbox.w++; } - GSVector4i r = bbox.rintersect(scissor); - scissor.z = std::min(scissor.z, (int)context->FRAME.FBW * 64); // TODO: find a game that overflows and check which one is the right behaviour data.scissor = scissor;