mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-21 12:01:05 +00:00
Fix -dedicated under sdl
This commit is contained in:
parent
15b177ebbb
commit
eb70242fd0
1 changed files with 6 additions and 1 deletions
|
@ -1843,7 +1843,12 @@ void I_StartupGraphics(void)
|
|||
static char SDLNOMOUSE[] = "SDL_NOMOUSE=1";
|
||||
static char SDLVIDEOMID[] = "SDL_VIDEO_CENTERED=center";
|
||||
|
||||
if (graphics_started || dedicated)
|
||||
if (dedicated)
|
||||
{
|
||||
rendermode = render_none;
|
||||
return;
|
||||
}
|
||||
if (graphics_started)
|
||||
return;
|
||||
|
||||
COM_AddCommand ("vid_nummodes", VID_Command_NumModes_f);
|
||||
|
|
Loading…
Reference in a new issue