- Changed max sky buffer to 3072 from 2048

This commit is contained in:
raa-eruanna 2016-10-13 02:47:07 -04:00
parent 5d08a81240
commit 3a13394661
1 changed files with 1 additions and 1 deletions

View File

@ -852,7 +852,7 @@ extern FTexture *rw_pic;
// since the most anyone can ever see of the sky is 500 pixels. // since the most anyone can ever see of the sky is 500 pixels.
// We need 4 skybufs because wallscan can draw up to 4 columns at a time. // We need 4 skybufs because wallscan can draw up to 4 columns at a time.
// Need two versions - one for true color and one for palette // Need two versions - one for true color and one for palette
#define MAXSKYBUF 2048 #define MAXSKYBUF 3072
static BYTE skybuf[4][512]; static BYTE skybuf[4][512];
static uint32_t skybuf_bgra[MAXSKYBUF][512]; static uint32_t skybuf_bgra[MAXSKYBUF][512];
static DWORD lastskycol[4]; static DWORD lastskycol[4];