mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-24 21:31:46 +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 SDLNOMOUSE[] = "SDL_NOMOUSE=1";
|
||||||
static char SDLVIDEOMID[] = "SDL_VIDEO_CENTERED=center";
|
static char SDLVIDEOMID[] = "SDL_VIDEO_CENTERED=center";
|
||||||
|
|
||||||
if (graphics_started || dedicated)
|
if (dedicated)
|
||||||
|
{
|
||||||
|
rendermode = render_none;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if (graphics_started)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
COM_AddCommand ("vid_nummodes", VID_Command_NumModes_f);
|
COM_AddCommand ("vid_nummodes", VID_Command_NumModes_f);
|
||||||
|
|
Loading…
Reference in a new issue