mirror of https://github.com/PCSX2/pcsx2.git
GS/HW: Fix Wunused-variable warning.
This commit is contained in:
parent
10e5af2ddf
commit
ff499d42a0
|
@ -2041,7 +2041,6 @@ void GSRendererHW::Draw()
|
||||||
if (height_invalid && m_cached_ctx.FRAME.FBW <= 1 &&
|
if (height_invalid && m_cached_ctx.FRAME.FBW <= 1 &&
|
||||||
TryToResolveSinglePageFramebuffer(m_cached_ctx.FRAME, true))
|
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;
|
const GSVector2i& pgs = GSLocalMemory::m_psm[m_cached_ctx.FRAME.PSM].pgs;
|
||||||
ReplaceVerticesWithSprite(
|
ReplaceVerticesWithSprite(
|
||||||
GetDrawRectForPages(m_cached_ctx.FRAME.FBW, m_cached_ctx.FRAME.PSM, (m_r.w + (pgs.y - 1)) / pgs.y),
|
GetDrawRectForPages(m_cached_ctx.FRAME.FBW, m_cached_ctx.FRAME.PSM, (m_r.w + (pgs.y - 1)) / pgs.y),
|
||||||
|
|
Loading…
Reference in New Issue