]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
don't crash if r_restart is used in startup scripts before anything starts the video...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 18 Jul 2006 22:27:06 +0000 (22:27 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 18 Jul 2006 22:27:06 +0000 (22:27 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6514 d7cf8633-e32d-0410-b094-e92efae38249

r_modules.c

index b1909685ef462b44020439e9eb4d07e5a30212ff..df260db6780f1de6006ebd44c4877e12a9948c34 100644 (file)
@@ -76,6 +76,7 @@ void R_Modules_Shutdown(void)
 
 void R_Modules_Restart(void)
 {
+       Host_StartVideo();
        Con_Print("restarting renderer\n");
        R_Modules_Shutdown();
        R_Modules_Start();