1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-06-02 02:53:32 +02: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)
{