Zzz... moment
This commit is contained in:
1 parent
5f58e7b343
commit
8cec2dab82
1 file changed
+1
-5
+1
-5
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user