diff --git a/src/sdl/i_video.c b/src/sdl/i_video.c index 5c3ca6738..6997fc638 100644 --- a/src/sdl/i_video.c +++ b/src/sdl/i_video.c @@ -893,14 +893,12 @@ static void Impl_HandleWindowEvent(SDL_WindowEvent evt) //CONS_Printf("Current Display Info:\n"); //CONS_Printf(" Resolution: %dx%d\n", curmode.w, curmode.h); //CONS_Printf(" Refresh rate: %d Hz\n", curmode.refresh_rate); - + if (cv_grframebuffer.value && ((vid.width > curmode.w) || (vid.height > curmode.h))) //framebuffer downsampler thinge { downsample = true; RefreshSDLSurface(); } - else - downsample = false; if (cv_fullscreen.value == 2) //exclusive SDLSetMode(curmode.w, curmode.h, true); @@ -2000,8 +1998,6 @@ INT32 VID_SetMode(INT32 modeNum) downsample = true; RefreshSDLSurface(); } - else - downsample = false; } SDLSetMode(vid.width, vid.height, USE_FULLSCREEN);