summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-01-21 22:17:35 +0100
committeraap <aap@papnet.eu>2021-01-21 22:17:35 +0100
commite99589a3ebf32b86046429c025fb0d3db6e44a68 (patch)
tree13390a57f5cb3a0e0445387e4bd47bcd3e6bcb7a /src/core
parentfix (diff)
downloadre3-e99589a3ebf32b86046429c025fb0d3db6e44a68.tar
re3-e99589a3ebf32b86046429c025fb0d3db6e44a68.tar.gz
re3-e99589a3ebf32b86046429c025fb0d3db6e44a68.tar.bz2
re3-e99589a3ebf32b86046429c025fb0d3db6e44a68.tar.lz
re3-e99589a3ebf32b86046429c025fb0d3db6e44a68.tar.xz
re3-e99589a3ebf32b86046429c025fb0d3db6e44a68.tar.zst
re3-e99589a3ebf32b86046429c025fb0d3db6e44a68.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 2ce692b5..ef282b25 100644
--- a/src/core/config.h
+++ b/src/core/config.h
@@ -263,6 +263,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 a84bd495..a22ba4eb 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
@@ -402,7 +402,7 @@ PluginAttach(void)
return FALSE;
}
-#ifndef LIBRW
+#ifdef ANISOTROPIC_FILTERING
RpAnisotPluginAttach();
#endif
#ifdef EXTENDED_PIPELINES