summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-01-22 00:58:38 +0100
committerSergeanur <s.anureev@yandex.ua>2021-01-22 00:58:38 +0100
commit06d8860d42028d7fa3581e90ecc906ddf7c3f2da (patch)
tree18131f582cc9668f698e5b9599febc0b8d81cb88 /src/core
parenthigher wheel LOD dist (diff)
parentfuck (diff)
downloadre3-06d8860d42028d7fa3581e90ecc906ddf7c3f2da.tar
re3-06d8860d42028d7fa3581e90ecc906ddf7c3f2da.tar.gz
re3-06d8860d42028d7fa3581e90ecc906ddf7c3f2da.tar.bz2
re3-06d8860d42028d7fa3581e90ecc906ddf7c3f2da.tar.lz
re3-06d8860d42028d7fa3581e90ecc906ddf7c3f2da.tar.xz
re3-06d8860d42028d7fa3581e90ecc906ddf7c3f2da.tar.zst
re3-06d8860d42028d7fa3581e90ecc906ddf7c3f2da.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/config.h1
-rw-r--r--src/core/main.cpp4
2 files changed, 3 insertions, 2 deletions
diff --git a/src/core/config.h b/src/core/config.h
index 58bc9ffd..02356e6e 100644
--- a/src/core/config.h
+++ b/src/core/config.h
@@ -265,6 +265,7 @@ enum Config {
#define IMPROVED_VIDEOMODE // save and load videomode parameters instead of a magic number
//#define DISABLE_LOADING_SCREEN // disable the loading screen which vastly improves the loading time
#define DISABLE_VSYNC_ON_TEXTURE_CONVERSION // make texture conversion work faster by disabling vsync
+#define ANISOTROPIC_FILTERING // set all textures to max anisotropic filtering
//#define USE_TEXTURE_POOL
#ifdef LIBRW
#define EXTENDED_COLOURFILTER // more options for colour filter (replaces mblur)
diff --git a/src/core/main.cpp b/src/core/main.cpp
index 7f73c311..b2f2fbfa 100644
--- a/src/core/main.cpp
+++ b/src/core/main.cpp
@@ -3,7 +3,7 @@
#include "rphanim.h"
#include "rpskin.h"
#include "rtbmp.h"
-#ifndef LIBRW
+#ifdef ANISOTROPIC_FILTERING
#include "rpanisot.h"
#endif
@@ -406,7 +406,7 @@ PluginAttach(void)
return FALSE;
}
-#ifndef LIBRW
+#ifdef ANISOTROPIC_FILTERING
RpAnisotPluginAttach();
#endif
#ifdef EXTENDED_PIPELINES