From: havoc Date: Wed, 3 Jun 2020 02:26:30 +0000 (+0000) Subject: Fix gamedir command by removing the forced video subsystem shutdown, it was trying... X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=8e3274ed87c256d3122f56a5275180ef08439b2a;p=xonotic%2Fdarkplaces.git Fix gamedir command by removing the forced video subsystem shutdown, it was trying to load the loading screen without a running video subsystem and erroring out on the texturearray having mempool == NULL. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12627 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/fs.c b/fs.c index 590a336c..f4f1e55f 100644 --- a/fs.c +++ b/fs.c @@ -1581,10 +1581,6 @@ qboolean FS_ChangeGameDirs(int numgamedirs, char gamedirs[][MAX_QPATH], qboolean // unload all sounds so they will be reloaded from the new files as needed S_UnloadAllSounds_f(&cmd_client); - // close down the video subsystem, it will start up again when the config finishes... - VID_Stop(); - vid_opened = false; - // restart the video subsystem after the config is executed Cbuf_InsertText(&cmd_client, "\nloadconfig\nvid_restart\n\n");