]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - r_modules.c
don't crash if r_restart is used in startup scripts before anything starts the video...
[xonotic/darkplaces.git] / 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();