mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-21 20:11:12 +00:00
sdl2: Revert -win flag behavior, was glitchy
This commit is contained in:
parent
0ae6d5ae29
commit
6ea03a23b4
1 changed files with 2 additions and 2 deletions
|
@ -1797,7 +1797,7 @@ static SDL_bool Impl_CreateWindow(SDL_bool fullscreen)
|
|||
}
|
||||
|
||||
window = SDL_CreateWindow("SRB2", SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED,
|
||||
BASEVIDWIDTH, BASEVIDHEIGHT, flags);
|
||||
realwidth, realheight, flags);
|
||||
renderer = SDL_CreateRenderer(window, -1, 0);
|
||||
|
||||
SDL_RenderSetLogicalSize(renderer, BASEVIDWIDTH, BASEVIDHEIGHT);
|
||||
|
@ -1897,7 +1897,7 @@ void I_StartupGraphics(void)
|
|||
if (!I_GetEnv("SDL_VIDEO_CENTERED"))
|
||||
I_PutEnv(SDLVIDEOMID);
|
||||
*/
|
||||
CV_SetValue(&cv_fullscreen, M_CheckParm("-win") ? 0 : 1);
|
||||
disable_fullscreen = M_CheckParm("-win") ? 1 : 0;
|
||||
|
||||
keyboard_started = true;
|
||||
|
||||
|
|
Loading…
Reference in a new issue