mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-22 17:49:43 +01:00
Change if to elseif and remove return
This commit is contained in:
parent
a8bf43adcc
commit
4148234225
1 changed files with 1 additions and 3 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue