Fix -dedicated under sdl
This commit is contained in:
1 parent
15b177ebbb
commit
eb70242fd0
1 file changed
+6
-1
+6
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user