Revert "ill just uhhhhh use main display stuff for now idk"

This reverts commit a2d0ea9d11.
This commit is contained in:
Alug committed 2024-03-06 09:26:24 +01:00
1 parent ea26db2cbd
commit 2b7c4ae76c
1 file changed
+4 -3
+4 -3
View File
@@ -1956,7 +1956,7 @@ static UINT32 VID_GetRefreshRate(void)
INT32 VID_SetMode(INT32 modeNum)
{
SDL_DisplayMode balls;
//SDL_DisplayMode balls;
SDLdoUngrabMouse();
vid.recalc = 1;
@@ -1994,8 +1994,9 @@ INT32 VID_SetMode(INT32 modeNum)
}
//Impl_SetWindowName("SRB2Kart "VERSIONSTRING);
if (SDL_GetDesktopDisplayMode(0, &balls) == 0)
/*if (SDL_GetWindowDisplayMode(window, &balls) == 0)
{
CONS_Printf(" Resolution: %dx%d\n", balls.w, balls.h);
if (cv_grframebuffer.value && ((vid.width > balls.w) || (vid.height > balls.h))) //framebuffer downsampler thinge
{
downsample = true;
@@ -2003,7 +2004,7 @@ INT32 VID_SetMode(INT32 modeNum)
}
else
downsample = false;
}
}*/
SDLSetMode(vid.width, vid.height, USE_FULLSCREEN);
Impl_VideoSetupBuffer();