mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-17 22:50:51 +00:00
Fixed a segfault with very high resolutions.
This commit is contained in:
parent
8d35d67997
commit
f1279be1e5
1 changed files with 4 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue