ref: 96759afc0218a1147e6de661a598267e121fcb84
parent: a358b6be9f633e4c95205f67bed0cbdf80ce7164
author: Sigrid Solveig Haflínudóttir <[email protected]>
date: Sun Dec 31 18:43:00 EST 2023
D_ViewChanged: forgot to update dvars.width
--- a/d_modech.c
+++ b/d_modech.c
@@ -22,6 +22,7 @@
d_vrecty = r_refdef.vrect.y;
d_vrectright_particle = r_refdef.vrectright - d_pix_max;
d_vrectbottom_particle = r_refdef.vrectbottom - d_pix_max;
+ dvars.width = vid.width;
for(i = 0; i < vid.height; i++){
d_scantable[i] = i * dvars.width;
--- a/vid_sdl.c
+++ b/vid_sdl.c
@@ -71,7 +71,6 @@
flipfb(void)
{
if(resized){ /* skip this frame if window resize */
- stopfb();
resized = 0;
resetfb();
vid.recalc_refdef = true; /* force a surface cache flush */