1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-12-23 03:20:00 +00:00

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