summaryrefslogtreecommitdiffstats
path: root/src/fakerw/fake.cpp
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/fakerw/fake.cpp
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/fakerw/fake.cpp')
-rw-r--r--src/fakerw/fake.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/fakerw/fake.cpp b/src/fakerw/fake.cpp
index 863407b9..4a8a945d 100644
--- a/src/fakerw/fake.cpp
+++ b/src/fakerw/fake.cpp
@@ -964,3 +964,12 @@ RtCharset *RtCharsetSetColors(RtCharset * charSet, const RwRGBA * foreGround,
RtCharset *RtCharsetGetDesc(RtCharset * charset, RtCharsetDesc * desc) { *desc = charset->desc; return charset; }
RtCharset *RtCharsetCreate(const RwRGBA * foreGround, const RwRGBA * backGround) { return Charset::create(foreGround, backGround); }
RwBool RtCharsetDestroy(RtCharset * charSet) { charSet->destroy(); return true; }
+
+
+
+#include <rpanisot.h>
+
+RwInt8 RpAnisotGetMaxSupportedMaxAnisotropy(void) { return rw::getMaxSupportedMaxAnisotropy(); }
+RwTexture *RpAnisotTextureSetMaxAnisotropy(RwTexture *tex, RwInt8 val) { tex->setMaxAnisotropy(val); return tex; }
+RwInt8 RpAnisotTextureGetMaxAnisotropy(RwTexture *tex) { return tex->getMaxAnisotropy(); }
+RwBool RpAnisotPluginAttach(void) { rw::registerAnisotropyPlugin(); return true; }