diff --git a/desktop_version/src/Screen.cpp b/desktop_version/src/Screen.cpp index eacd0365..52762ff2 100644 --- a/desktop_version/src/Screen.cpp +++ b/desktop_version/src/Screen.cpp @@ -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(