nixpkgs-suyu/pkgs/games/quake3/game/exit.patch

13 lines
434 B
Diff
Raw Normal View History

diff -ru -x '*~' ioquake3_1.34-rc3-orig//code/unix/unix_main.c ioquake3_1.34-rc3//code/unix/unix_main.c
--- code/unix/unix_main.c 2006-11-28 23:05:25.000000000 +0100
+++ code/unix/unix_main.c 2011-01-10 12:43:51.000000000 +0100
@@ -341,7 +341,7 @@
void Sys_Exit( int ex ) {
Sys_ConsoleInputShutdown();
-#ifdef NDEBUG // regular behavior
+#if 0
// We can't do this
// as long as GL DLL's keep installing with atexit...