diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-01-13 14:55:55 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-01-13 14:55:55 +0200 |
commit | 0e9a44dd43441c081266665c74a150afa0386858 (patch) | |
tree | ac83fefee1ace0178ecfe83b800f188ac47f6764 /src | |
parent | ac3ba5b4a651d9557167af73acef65dfcd084933 (diff) |
Fix backface culling of cutscene objects
Diffstat (limited to 'src')
-rw-r--r-- | src/objects/CutsceneObject.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/objects/CutsceneObject.cpp b/src/objects/CutsceneObject.cpp index e36d8e25..7d9fe640 100644 --- a/src/objects/CutsceneObject.cpp +++ b/src/objects/CutsceneObject.cpp @@ -150,9 +150,9 @@ CCutsceneObject::PreRender(void) void CCutsceneObject::Render(void) { - RwRenderStateSet(rwRENDERSTATECULLMODE, (void *)rwCULLMODECULLNONE); + SetCullMode(rwCULLMODECULLNONE); CObject::Render(); - RwRenderStateSet(rwRENDERSTATECULLMODE, (void *)rwCULLMODECULLBACK); + SetCullMode(rwCULLMODECULLBACK); } bool |