Fixed a segfault with very high resolutions.

This commit is contained in:
Brian Koropoff 2002-11-23 05:47:17 +00:00
parent 8d35d67997
commit f1279be1e5

View file

@ -57,8 +57,10 @@ D_WarpScreen (void)
int *turb;
int *col;
byte **row;
byte *rowptr[1024];
int column[1280];
/* FIXME: allocate these arrays properly */
byte *rowptr[1024 + AMP2 * 2];
int column[1280 + AMP2 * 2];
float wratio, hratio;
w = r_refdef.vrect.width;