mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Remove redundant CImageInfo
variable
It's a POD object that is only zeroed and otherwise unused, so it's redundant.
This commit is contained in:
parent
f2d8bad506
commit
b6cdbfbb2f
|
@ -3321,13 +3321,8 @@ int CGraphics_Threaded::GetVideoModes(CVideoMode *pModes, int MaxModes, int Scre
|
|||
return Count;
|
||||
}
|
||||
|
||||
// add videomodes command
|
||||
CImageInfo Image;
|
||||
mem_zero(&Image, sizeof(Image));
|
||||
|
||||
int NumModes = 0;
|
||||
m_pBackend->GetVideoModes(pModes, MaxModes, &NumModes, m_ScreenHiDPIScale, g_Config.m_GfxDesktopWidth, g_Config.m_GfxDesktopHeight, Screen);
|
||||
|
||||
return NumModes;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue