ref: d0c4a3f92f472bdabc8a9dbad8b4e7a77b76bab8
parent: 0804001177b1f91b9ba126efa8369bc26a38c57a
author: qwx <>
date: Sun Mar 17 09:34:24 EDT 2019
vid: fix memory corruption on resize
--- a/qw/vid.c
+++ b/qw/vid.c
@@ -221,6 +221,7 @@
vid.recalc_refdef = 1; /* force a surface cache flush */
Con_CheckResize();
Con_Clear_f();
+ return;
}
drawfb();
scalefb();
--- a/vid.c
+++ b/vid.c
@@ -173,6 +173,7 @@
vid.recalc_refdef = 1; /* force a surface cache flush */
Con_CheckResize();
Con_Clear_f();
+ return;
}
drawfb(dy);
scalefb(dy);