From ff499d42a09beb94f0c8a5f405a2626c688aed01 Mon Sep 17 00:00:00 2001 From: lightningterror <18107717+lightningterror@users.noreply.github.com> Date: Fri, 8 Dec 2023 17:27:33 +0100 Subject: [PATCH] GS/HW: Fix Wunused-variable warning. --- pcsx2/GS/Renderers/HW/GSRendererHW.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/pcsx2/GS/Renderers/HW/GSRendererHW.cpp b/pcsx2/GS/Renderers/HW/GSRendererHW.cpp index 9e57649773..7e9c7376e7 100644 --- a/pcsx2/GS/Renderers/HW/GSRendererHW.cpp +++ b/pcsx2/GS/Renderers/HW/GSRendererHW.cpp @@ -2041,7 +2041,6 @@ void GSRendererHW::Draw() if (height_invalid && m_cached_ctx.FRAME.FBW <= 1 && TryToResolveSinglePageFramebuffer(m_cached_ctx.FRAME, true)) { - const GSVector2i fb_size = PCRTCDisplays.GetFramebufferSize(-1); const GSVector2i& pgs = GSLocalMemory::m_psm[m_cached_ctx.FRAME.PSM].pgs; ReplaceVerticesWithSprite( GetDrawRectForPages(m_cached_ctx.FRAME.FBW, m_cached_ctx.FRAME.PSM, (m_r.w + (pgs.y - 1)) / pgs.y),