From 0a022a4348b8a86d2e580e18ab2b303ef1367833 Mon Sep 17 00:00:00 2001 From: Alug Date: Wed, 5 Jun 2024 14:42:30 +0200 Subject: [PATCH] Revert "instant update after screen mode change" This reverts commit 02bd819f7e785594c8ce147f1cec3a1951088f24. --- src/sdl/i_video.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/sdl/i_video.c b/src/sdl/i_video.c index 2657ae94e..1f4e5af2c 100644 --- a/src/sdl/i_video.c +++ b/src/sdl/i_video.c @@ -316,11 +316,6 @@ static void SDLSetMode(INT32 width, INT32 height, SDL_bool fullscreen) SDL_PixelFormatEnumToMasks(sw_texture_format, &bpp, &rmask, &gmask, &bmask, &amask); vidSurface = SDL_CreateRGBSurface(0, width, height, bpp, rmask, gmask, bmask, amask); } - - if (graphics_started) - { - I_UpdateNoVsync(); - } } static INT32 Impl_SDL_Scancode_To_Keycode(SDL_Scancode code)