Use higher amount of vissprites in 64bit
This commit is contained in:
parent
24e15786a2
commit
d24238a0fe
1 changed files with 4 additions and 0 deletions
|
|
@ -125,7 +125,11 @@ void R_DrawMasked(maskcount_t* masks, INT32 nummasks);
|
|||
|
||||
// number of sprite lumps for spritewidth,offset,topoffset lookup tables
|
||||
// Fab: this is a hack : should allocate the lookup tables per sprite
|
||||
#if __SIZEOF_POINTER__ < 8
|
||||
#define MAXVISSPRITES 2048 // added 2-2-98 was 128
|
||||
#else
|
||||
#define MAXVISSPRITES 4096 // only for 64bit
|
||||
#endif
|
||||
|
||||
#define VISSPRITECHUNKBITS 6 // 2^6 = 64 sprites per chunk
|
||||
#define VISSPRITESPERCHUNK (1 << VISSPRITECHUNKBITS)
|
||||
|
|
|
|||
Loading…
Reference in a new issue