From 65b4e7c5d7cbe19facc0622b0dd094f7f277ebc4 Mon Sep 17 00:00:00 2001 From: Patryk Obara Date: Sun, 12 Apr 2020 16:11:18 +0200 Subject: [PATCH] Remove HandleVideoResize call from SetWindowMode This call was useful during development and testing with output=opengl, but now it's no longer necessary. This call causes output=texture to go into initialization loop, which falls back to surface, which we definitely do not want. --- src/gui/sdlmain.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/gui/sdlmain.cpp b/src/gui/sdlmain.cpp index eafc8b53..3ea1ff3c 100644 --- a/src/gui/sdlmain.cpp +++ b/src/gui/sdlmain.cpp @@ -681,7 +681,6 @@ finish: SDL_SetWindowMinimumSize(sdl.window, w, h); } - HandleVideoResize(width, height); sdl.update_display_contents = true; return sdl.window; }