mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-05-13 13:11:22 +00:00
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;
|
||||
}
|
||||
|
||||
model->SetArraysCurrent();
|
||||
for (const auto* surf = model->GetFirstUnsortedSurface(); surf != nullptr; surf = surf->GetNextSurface()) {
|
||||
model->DrawSurface(*surf, flags);
|
||||
}
|
||||
@ -478,6 +479,7 @@ void CCubeRenderer::DrawAreaGeometry(s32 areaIdx, s32 mask, s32 targetMask) {
|
||||
}
|
||||
}
|
||||
|
||||
SetupCGraphicsState();
|
||||
x318_30_inAreaDraw = false;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user