2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-20 12:59:12 +00:00

Use RE'd CStopwatch adapted for std::chrono, get metaforce linking again

This commit is contained in:
2022-02-26 08:42:42 -08:00
parent 586268c66f
commit 7a59585c70
12 changed files with 170 additions and 35 deletions

View File

@@ -269,7 +269,7 @@ void CCubeMaterial::HandleDepth(u16 modelFlags, CCubeMaterialFlags matFlags) {
func = (modelFlags & 0x10) != 0 ? ERglEnum::Less : ERglEnum::LEqual;
}
bool depthWrite = (modelFlags & 0x2) != 0 && matFlags & CCubeMaterialFlagBits::fDepthWrite;
aurora::gfx::set_depth_mode(func, depthWrite);
aurora::gfx::set_depth_mode(true, func, depthWrite);
}
void CCubeMaterial::ResetCachedMaterials() {