Fix backface culling of cutscene objects

This commit is contained in:
Sergeanur 2021-01-13 14:55:55 +02:00
parent ac3ba5b4a6
commit 0e9a44dd43

View File

@ -150,9 +150,9 @@ CCutsceneObject::PreRender(void)
void void
CCutsceneObject::Render(void) CCutsceneObject::Render(void)
{ {
RwRenderStateSet(rwRENDERSTATECULLMODE, (void *)rwCULLMODECULLNONE); SetCullMode(rwCULLMODECULLNONE);
CObject::Render(); CObject::Render();
RwRenderStateSet(rwRENDERSTATECULLMODE, (void *)rwCULLMODECULLBACK); SetCullMode(rwCULLMODECULLBACK);
} }
bool bool