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
CCutsceneObject::Render(void)
{
RwRenderStateSet(rwRENDERSTATECULLMODE, (void *)rwCULLMODECULLNONE);
SetCullMode(rwCULLMODECULLNONE);
CObject::Render();
RwRenderStateSet(rwRENDERSTATECULLMODE, (void *)rwCULLMODECULLBACK);
SetCullMode(rwCULLMODECULLBACK);
}
bool