diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-11-28 14:13:06 +0100 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-12-01 02:42:40 +0100 |
commit | 16abbad6b224dd16867c4c54bbe45a6bc5a0461d (patch) | |
tree | b627dddbce68df23fbf3eb88c927589f290c3a10 /src/fakerw | |
parent | add -console cmdline arg instead of #if 0/1 (diff) | |
download | re3-16abbad6b224dd16867c4c54bbe45a6bc5a0461d.tar re3-16abbad6b224dd16867c4c54bbe45a6bc5a0461d.tar.gz re3-16abbad6b224dd16867c4c54bbe45a6bc5a0461d.tar.bz2 re3-16abbad6b224dd16867c4c54bbe45a6bc5a0461d.tar.lz re3-16abbad6b224dd16867c4c54bbe45a6bc5a0461d.tar.xz re3-16abbad6b224dd16867c4c54bbe45a6bc5a0461d.tar.zst re3-16abbad6b224dd16867c4c54bbe45a6bc5a0461d.zip |
Diffstat (limited to 'src/fakerw')
-rw-r--r-- | src/fakerw/fake.cpp | 3 | ||||
-rw-r--r-- | src/fakerw/rwcore.h | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/fakerw/fake.cpp b/src/fakerw/fake.cpp index eb5551f9..b04f7c7e 100644 --- a/src/fakerw/fake.cpp +++ b/src/fakerw/fake.cpp @@ -578,6 +578,9 @@ void RwD3D8EngineSetRefreshRate(RwUInt32 refreshRate) {} RwBool RwD3D8DeviceSupportsDXTTexture(void) { return true; } +void RwD3D8EngineSetMultiSamplingLevels(RwUInt32 level) { Engine::setMultiSamplingLevels(level); } +RwUInt32 RwD3D8EngineGetMaxMultiSamplingLevels(void) { return Engine::getMaxMultiSamplingLevels(); } + RpMaterial *RpMaterialCreate(void) { return Material::create(); } RwBool RpMaterialDestroy(RpMaterial *material) { material->destroy(); return true; } diff --git a/src/fakerw/rwcore.h b/src/fakerw/rwcore.h index 31bc5541..e5d21865 100644 --- a/src/fakerw/rwcore.h +++ b/src/fakerw/rwcore.h @@ -411,3 +411,5 @@ RwFrame *RwCameraGetFrame(const RwCamera *camera); void RwD3D8EngineSetRefreshRate(RwUInt32 refreshRate); RwBool RwD3D8DeviceSupportsDXTTexture(void); +void RwD3D8EngineSetMultiSamplingLevels(RwUInt32 level); +RwUInt32 RwD3D8EngineGetMaxMultiSamplingLevels(void); |