diff options
author | aap <aap@papnet.eu> | 2021-01-21 22:17:35 +0100 |
---|---|---|
committer | aap <aap@papnet.eu> | 2021-01-21 22:17:35 +0100 |
commit | e99589a3ebf32b86046429c025fb0d3db6e44a68 (patch) | |
tree | 13390a57f5cb3a0e0445387e4bd47bcd3e6bcb7a /src/fakerw | |
parent | 50cde660670bcc7a90211a27d9f8971357c36e8d (diff) |
fixed anisotropic filtering; updated librw
Diffstat (limited to 'src/fakerw')
-rw-r--r-- | src/fakerw/fake.cpp | 9 |
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; } |