ill just uhhhhh use main display stuff for now idk
This commit is contained in:
1 parent
298b4d23e8
commit
a2d0ea9d11
1 file changed
+3
-4
+3
-4
@@ -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,9 +1994,8 @@ INT32 VID_SetMode(INT32 modeNum)
|
||||
}
|
||||
//Impl_SetWindowName("SRB2Kart "VERSIONSTRING);
|
||||
|
||||
/*if (SDL_GetWindowDisplayMode(window, &balls) == 0)
|
||||
if (SDL_GetDesktopDisplayMode(0, &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;
|
||||
@@ -2004,7 +2003,7 @@ INT32 VID_SetMode(INT32 modeNum)
|
||||
}
|
||||
else
|
||||
downsample = false;
|
||||
}*/
|
||||
}
|
||||
|
||||
SDLSetMode(vid.width, vid.height, USE_FULLSCREEN);
|
||||
Impl_VideoSetupBuffer();
|
||||
|
||||
Reference in new issue
Block a user