Fix -dedicated under sdl

This commit is contained in:
Ronald Kinard 2014-03-17 22:37:56 -05:00
parent 15b177ebbb
commit eb70242fd0

View file

@ -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);