GS/HW: Fix Wunused-variable warning.

This commit is contained in:
lightningterror committed 2023-12-10 16:34:40 +01:00
1 parent 10e5af2ddf
commit ff499d42a0
1 file changed
-1
-1
View File
@@ -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),