summaryrefslogtreecommitdiffstats
path: root/src/core/main.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-01-21 22:30:20 +0100
committeraap <aap@papnet.eu>2021-01-21 22:30:20 +0100
commitc67273e92a60e50d67d8146f6a150a5b39a2a641 (patch)
tree062bb3b8d9b2ba99e477748aeaf2a1e19c891da0 /src/core/main.cpp
parentMerge pull request #968 from withmorten/cw (diff)
downloadre3-c67273e92a60e50d67d8146f6a150a5b39a2a641.tar
re3-c67273e92a60e50d67d8146f6a150a5b39a2a641.tar.gz
re3-c67273e92a60e50d67d8146f6a150a5b39a2a641.tar.bz2
re3-c67273e92a60e50d67d8146f6a150a5b39a2a641.tar.lz
re3-c67273e92a60e50d67d8146f6a150a5b39a2a641.tar.xz
re3-c67273e92a60e50d67d8146f6a150a5b39a2a641.tar.zst
re3-c67273e92a60e50d67d8146f6a150a5b39a2a641.zip
Diffstat (limited to 'src/core/main.cpp')
-rw-r--r--src/core/main.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/core/main.cpp b/src/core/main.cpp
index 9d8a8e52..239fae7b 100644
--- a/src/core/main.cpp
+++ b/src/core/main.cpp
@@ -3,6 +3,9 @@
#include "rphanim.h"
#include "rpskin.h"
#include "rtbmp.h"
+#ifdef ANISOTROPIC_FILTERING
+#include "rpanisot.h"
+#endif
#include "main.h"
#include "CdStream.h"
@@ -432,6 +435,9 @@ PluginAttach(void)
return FALSE;
}
+#ifdef ANISOTROPIC_FILTERING
+ RpAnisotPluginAttach();
+#endif
#ifdef EXTENDED_PIPELINES
CustomPipes::CustomPipeRegister();
#endif
@@ -440,7 +446,7 @@ PluginAttach(void)
}
#ifdef GTA_PS2
-#define NUM_PREALLOC_ATOMICS 3245
+#define NUM_PREALLOC_ATOMICS 32455
#define NUM_PREALLOC_CLUMPS 101
#define NUM_PREALLOC_FRAMES 2821
#define NUM_PREALLOC_GEOMETRIES 1404