mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
Change if to elseif and remove return
This commit is contained in:
committed by
Misa Elizabeth Kai
parent
a8bf43adcc
commit
4148234225
@@ -172,11 +172,9 @@ void Screen::ResizeScreen(int x, int y)
|
||||
int result = SDL_SetWindowFullscreen(m_window, 0);
|
||||
if (result != 0)
|
||||
{
|
||||
recacheTextures();
|
||||
vlog_error("Error: could not set the game to windowed mode: %s", SDL_GetError());
|
||||
return;
|
||||
}
|
||||
if (x != -1 && y != -1)
|
||||
else if (x != -1 && y != -1)
|
||||
{
|
||||
SDL_SetWindowSize(m_window, windowWidth, windowHeight);
|
||||
SDL_SetWindowPosition(
|
||||
|
||||
Reference in New Issue
Block a user