Skip to content
Snippets Groups Projects
Commit eb70242f authored by Eidolon's avatar Eidolon
Browse files

Fix -dedicated under sdl

parent 15b177eb
Branches
Tags
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment