mirror of https://github.com/PCSX2/pcsx2.git
GS: Clean up warnings
This commit is contained in:
parent
6673bd9212
commit
11cf244e97
|
@ -49,7 +49,7 @@ const char* shaderName(ShaderConvert value)
|
|||
}
|
||||
}
|
||||
|
||||
static const int MipmapLevelsForSize(int width, int height)
|
||||
static int MipmapLevelsForSize(int width, int height)
|
||||
{
|
||||
return std::min(static_cast<int>(std::log2(std::max(width, height))) + 1, MAXIMUM_TEXTURE_MIPMAP_LEVELS);
|
||||
}
|
||||
|
|
|
@ -194,8 +194,6 @@ bool GSRenderer::Merge(int field)
|
|||
const bool slbg = m_regs->PMODE.SLBG;
|
||||
|
||||
const GSVector2i resolution(GetResolution());
|
||||
const GSVideoMode videomode = GetVideoMode();
|
||||
|
||||
bool scanmask_frame = true;
|
||||
|
||||
for (int i = 0; i < 2; i++)
|
||||
|
|
Loading…
Reference in New Issue