summaryrefslogtreecommitdiff
path: root/include/JSystem/J3DGraphBase
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2025-05-30 15:16:57 -0400
committerLagoLunatic <LagoLunatic@users.noreply.github.com>2025-05-30 15:16:57 -0400
commit206c4cbc16ffe2b0ebc8331eb605fec22a482408 (patch)
tree6be079a9be3c9acd435987773077f173f1cf2782 /include/JSystem/J3DGraphBase
parent22ba12593a2595bdd017023cd074b058287fddf5 (diff)
More demo work
Diffstat (limited to 'include/JSystem/J3DGraphBase')
-rw-r--r--include/JSystem/J3DGraphBase/J3DMatBlock.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/JSystem/J3DGraphBase/J3DMatBlock.h b/include/JSystem/J3DGraphBase/J3DMatBlock.h
index 808c8b5c..67434e80 100644
--- a/include/JSystem/J3DGraphBase/J3DMatBlock.h
+++ b/include/JSystem/J3DGraphBase/J3DMatBlock.h
@@ -571,8 +571,7 @@ struct J3DZMode {
u8 getUpdateEnable() const { return j3dZModeTable[mZModeID * 3 + 2]; }
void setZModeInfo(const J3DZModeInfo& info) {
- u8 compareEn = info.mCompareEnable;
- mZModeID = calcZModeID(compareEn, info.mFunc, info.mUpdateEnable);
+ mZModeID = calcZModeID(info.mCompareEnable, info.mFunc, info.mUpdateEnable);
}
void load() const {