summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-01-13 13:55:55 +0100
committerSergeanur <s.anureev@yandex.ua>2021-01-13 13:55:55 +0100
commit0e9a44dd43441c081266665c74a150afa0386858 (patch)
treeac83fefee1ace0178ecfe83b800f188ac47f6764
parentmore renames (diff)
downloadre3-0e9a44dd43441c081266665c74a150afa0386858.tar
re3-0e9a44dd43441c081266665c74a150afa0386858.tar.gz
re3-0e9a44dd43441c081266665c74a150afa0386858.tar.bz2
re3-0e9a44dd43441c081266665c74a150afa0386858.tar.lz
re3-0e9a44dd43441c081266665c74a150afa0386858.tar.xz
re3-0e9a44dd43441c081266665c74a150afa0386858.tar.zst
re3-0e9a44dd43441c081266665c74a150afa0386858.zip
-rw-r--r--src/objects/CutsceneObject.cpp4
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