Fix backface culling of cutscene objects
This commit is contained in:
1 parent
ac3ba5b4a6
commit
0e9a44dd43
1 file changed
+2
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user