summaryrefslogtreecommitdiffstats
path: root/src/fakerw/fake.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/fakerw/fake.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 '')
-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 c1150931..366dcf3e 100644
--- a/src/fakerw/fake.cpp
+++ b/src/fakerw/fake.cpp
@@ -962,3 +962,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; }