mirror of
https://github.com/halpz/re3.git
synced 2025-07-22 15:19:46 +00:00
fixed anisotropic filtering; updated librw
This commit is contained in:
@ -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; }
|
||||
|
6
src/fakerw/rpanisot.h
Normal file
6
src/fakerw/rpanisot.h
Normal file
@ -0,0 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
RwInt8 RpAnisotGetMaxSupportedMaxAnisotropy(void);
|
||||
RwTexture *RpAnisotTextureSetMaxAnisotropy(RwTexture *tex, RwInt8 val);
|
||||
RwInt8 RpAnisotTextureGetMaxAnisotropy(RwTexture *tex);
|
||||
RwBool RpAnisotPluginAttach(void);
|
Reference in New Issue
Block a user