summaryrefslogtreecommitdiff
path: root/src/fakerw/fake.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-11-28 15:13:06 +0200
committerSergeanur <s.anureev@yandex.ua>2020-12-01 03:42:40 +0200
commit16abbad6b224dd16867c4c54bbe45a6bc5a0461d (patch)
treeb627dddbce68df23fbf3eb88c927589f290c3a10 /src/fakerw/fake.cpp
parentb8d3d8f5e460db06d9475a39c0bfb8fc733be872 (diff)
Add multisampling to librw
# Conflicts: # src/core/config.h # vendor/librw
Diffstat (limited to 'src/fakerw/fake.cpp')
-rw-r--r--src/fakerw/fake.cpp3
1 files changed, 3 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; }