check with "__SIZEOF_POINTER__"
This commit is contained in:
1 parent
b3106d55d1
commit
2ec467f062
1 file changed
+3
-3
+3
-3
@@ -23,10 +23,10 @@ extern "C" {
|
||||
|
||||
// number of sprite lumps for spritewidth,offset,topoffset lookup tables
|
||||
// Fab: this is a hack : should allocate the lookup tables per sprite
|
||||
#if defined(__x86_64__) || defined(__amd64__) || defined(__aarch64__) || defined(__arm64__) // only for 64bit (idk how else to proper check lmao)
|
||||
#define MAXVISSPRITES 4096
|
||||
#else
|
||||
#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
|
||||
|
||||
Reference in new issue
Block a user