mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-12-23 07:20:02 +00:00
Fix backface culling of cutscene objects
This commit is contained in:
parent
ac3ba5b4a6
commit
0e9a44dd43
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue