1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-23 01:59:43 +01:00

Consistently use Screen::GetWindowSize

This commit is contained in:
leo60228 2020-12-31 21:12:30 -05:00 committed by Ethan Lee
parent 46d8599f62
commit b5ef10cae5

View file

@ -170,7 +170,7 @@ void Screen::ResizeScreen(int x, int y)
if (stretchMode == 1)
{
int winX, winY;
SDL_GetRendererOutputSize(m_renderer, &winX, &winY);
GetWindowSize(&winX, &winY);
int result = SDL_RenderSetLogicalSize(m_renderer, winX, winY);
if (result != 0)
{