now uses VID_Shutdown instead of VID_SetDefaultMode (which hardly does anything in...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 23 Sep 2002 04:24:51 +0000 (04:24 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 23 Sep 2002 04:24:51 +0000 (04:24 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2420 d7cf8633-e32d-0410-b094-e92efae38249

sys_win.c

index 12ee10b..7363e57 100644 (file)
--- a/sys_win.c
+++ b/sys_win.c
@@ -103,7 +103,7 @@ void Sys_Error (const char *error, ...)
                if (!in_sys_error0)
                {
                        in_sys_error0 = 1;
-                       VID_SetDefaultMode ();
+                       VID_Shutdown();
                        MessageBox(NULL, text, "Quake Error", MB_OK | MB_SETFOREGROUND | MB_ICONSTOP);
                }
                else