shithub: qk1

Download patch

ref: a6e5ce1f5f63750ce3b86291982e27892b2ea568
parent: a4c481713877e422e186d66c9038154b53bb6199
author: qwx <qwx@sciops.net>
date: Tue Aug 10 20:57:09 EDT 2021

qw: fix whiteout on exit

initialize input after libdraw to close fd's in the right order
on exit; how rio cleans up the window depends on this

--- a/qw/cl_main.c
+++ b/qw/cl_main.c
@@ -1351,9 +1351,9 @@
 	if (!host_colormap)
 		Sys_Error ("Couldn't load gfx/colormap.lmp");
 
-	IN_Init ();
 	initcd ();
 	VID_Init (host_basepal);
+	IN_Init ();
 	Draw_Init ();
 	SCR_Init ();
 	R_Init ();