Use const bool for CGX::SetZMode

Former-commit-id: 357658defa
This commit is contained in:
2023-02-06 11:22:14 -05:00
parent 38b824cda0
commit 48dc03ee11
14 changed files with 40 additions and 42 deletions

View File

@@ -107,8 +107,7 @@ public:
GXChannelID color);
static void SetBlendMode(GXBlendMode mode, GXBlendFactor srcFac, GXBlendFactor dstFac,
GXLogicOp op);
// TODO: GXBool doesn't work, why?
static void SetZMode(uint compareEnable, GXCompare func, uint updateEnable);
static void SetZMode(GXBool compareEnable, GXCompare func, GXBool updateEnable);
static void SetAlphaCompare(GXCompare comp0, uchar ref0, GXAlphaOp op, GXCompare comp1,
uchar ref1);
static void SetTevIndirect(GXTevStageID stageId, GXIndTexStageID indStage, GXIndTexFormat fmt,