mirror of https://github.com/AxioDL/metaforce.git
CCubeRenderer: Fix missing calls in DrawAreaGeometry
This commit is contained in:
parent
e1d2ff7f2d
commit
ee3902db58
|
@ -468,6 +468,7 @@ void CCubeRenderer::DrawAreaGeometry(s32 areaIdx, s32 mask, s32 targetMask) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
model->SetArraysCurrent();
|
||||||
for (const auto* surf = model->GetFirstUnsortedSurface(); surf != nullptr; surf = surf->GetNextSurface()) {
|
for (const auto* surf = model->GetFirstUnsortedSurface(); surf != nullptr; surf = surf->GetNextSurface()) {
|
||||||
model->DrawSurface(*surf, flags);
|
model->DrawSurface(*surf, flags);
|
||||||
}
|
}
|
||||||
|
@ -478,6 +479,7 @@ void CCubeRenderer::DrawAreaGeometry(s32 areaIdx, s32 mask, s32 targetMask) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SetupCGraphicsState();
|
||||||
x318_30_inAreaDraw = false;
|
x318_30_inAreaDraw = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue