mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-05-13 16:31:21 +00:00
Fix CWorldTransManager depth not being set
This commit is contained in:
parent
aaf96615cb
commit
5bf316955f
@ -199,6 +199,8 @@ void CWorldTransManager::DrawAllModels(CActorLights* lights) {
|
||||
|
||||
if (!x4_modelData->x1c_samusModelData.IsNull()) {
|
||||
CModelFlags flags = {};
|
||||
flags.x2_flags |= CModelFlagBits::DepthTest;
|
||||
flags.x2_flags |= CModelFlagBits::DepthUpdate;
|
||||
// TODO flags.m_extendedShader = EExtendedShader::LightingCubeReflection;
|
||||
|
||||
x4_modelData->x1c_samusModelData.GetAnimationData()->PreRender();
|
||||
|
Loading…
x
Reference in New Issue
Block a user