1
0
Fork 0

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.
This commit is contained in:
Patryk Obara 2020-04-12 16:11:18 +02:00 committed by Patryk Obara
parent 75e0a1af86
commit 65b4e7c5d7

View file

@ -681,7 +681,6 @@ finish:
SDL_SetWindowMinimumSize(sdl.window, w, h);
}
HandleVideoResize(width, height);
sdl.update_display_contents = true;
return sdl.window;
}