X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=r_modules.c;h=904977146ece0e69771e7ebe2cb1a1838c4b5650;hp=4c5f930868db1476c39cd67e36aa2a1a4f206ecf;hb=HEAD;hpb=f13419f00e3f8335e9a25498560a433597f28f50 diff --git a/r_modules.c b/r_modules.c index 4c5f9308..dd76b6ca 100644 --- a/r_modules.c +++ b/r_modules.c @@ -55,9 +55,10 @@ void R_Modules_Start(void) continue; if (rendermodule[i].active) { - Con_Printf ("R_StartModules: module \"%s\" already active\n", rendermodule[i].name); + Con_Printf ("R_Modules_Start: module \"%s\" already active\n", rendermodule[i].name); continue; } + Con_DPrintf("Starting render module \"%s\"\n", rendermodule[i].name); rendermodule[i].active = 1; rendermodule[i].start(); } @@ -73,6 +74,7 @@ void R_Modules_Shutdown(void) continue; if (!rendermodule[i].active) continue; + Con_DPrintf("Stopping render module \"%s\"\n", rendermodule[i].name); rendermodule[i].active = 0; rendermodule[i].shutdown(); } @@ -80,8 +82,9 @@ void R_Modules_Shutdown(void) void R_Modules_Restart_f(cmd_state_t *cmd) { - Host_StartVideo(); - Con_Print("restarting renderer\n"); + CL_StartVideo(); + Con_Print("Restarting renderer\n"); + SCR_BeginLoadingPlaque(false); R_Modules_Shutdown(); R_Modules_Start(); }