Commit:4c0d81ebc043de0e16fc9331c1246b16bcbc2c02 (browse)
Parent:057aa6afc8274d0907981153155f41551bb73cde
Author:qwx <>
Date:Sun Dec 23 13:40:24 CET 2018
Message:
fix sintable size to account for warping

dat.h => dat.h
@@ -1980,7 +1980,7 @@
 extern pixel_t *cacheblock;
 extern int r_screenwidth;
 extern int r_drawnpolycount;
-extern int sintable[MAXWIDTH];
+extern int sintable[MAXWIDTH+CYCLE];
 extern int intsintable[nelem(sintable)];
 extern int blanktable[nelem(sintable)];
 extern vec3_t vup;

r_rast.c => r_rast.c
@@ -25,7 +25,7 @@
 static qboolean	makeleftedge, makerightedge;
 qboolean		r_nearzionly;
 
-int		sintable[MAXWIDTH];
+int		sintable[MAXWIDTH+CYCLE];
 int		intsintable[nelem(sintable)];
 int		blanktable[nelem(sintable)];		// PGM