mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
Consistently use Screen::GetWindowSize
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user