diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/JSystem/J3DGraphBase/J3DMatBlock.h | 3 |
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 { |
