GS: Fix Wunused-but-set-variable, Wunused-variable warnings.

This commit is contained in:
lightningterror 2022-08-26 14:42:37 +02:00
parent 4439b3ad22
commit 66d88ed10b
2 changed files with 0 additions and 5 deletions

View File

@ -577,12 +577,8 @@ int GSState::GetFramebufferHeight()
int GSState::GetFramebufferWidth()
{
// Framebuffer height is 11 bits max
constexpr int width_limit = (1 << 11);
const GSVector4i disp1_rect = GetFrameRect(0, true);
const GSVector4i disp2_rect = GetFrameRect(1, true);
const GSVector4i combined = disp1_rect.runion(disp2_rect);
const int max_width = std::max(disp1_rect.width(), disp2_rect.width());

View File

@ -252,7 +252,6 @@ GSTexture* GSRendererHW::GetOutput(int i, int& y_offset)
// TRACE(_T("[%d] GetOutput %d %05x (%d)\n"), (int)m_perfmon.GetFrame(), i, (int)TEX0.TBP0, (int)TEX0.PSM);
GSTexture* t = nullptr;
GSVector2i size = GetOutputSize(fb_height);
if (GSTextureCache::Target* rt = m_tc->LookupDisplayTarget(TEX0, GetOutputSize(fb_height), fb_width, fb_height))
{