Rename kEnvPassThru -> kEnvPassthru

This commit is contained in:
Luke Street 2022-10-16 23:01:00 -04:00
parent cd88e8eedd
commit 608f103163
2 changed files with 4 additions and 4 deletions

View File

@ -136,7 +136,7 @@ public:
static void SetDepthWriteMode(bool test, ERglEnum comp, bool write);
static void SetBlendMode(ERglBlendMode, ERglBlendFactor, ERglBlendFactor, ERglLogicOp);
static CTevCombiners::CTevPass& kEnvPassThru;
static CTevCombiners::CTevPass& kEnvPassthru;
static CTevCombiners::CTevPass kEnvModulateConstColor;
static CTevCombiners::CTevPass kEnvConstColor;
static CTevCombiners::CTevPass kEnvModulate;

View File

@ -88,11 +88,11 @@ void CDecal::RenderQuad(CQuadDecal& decal, const CDecalDescription::SQuadDescr&
CGX::SetAlphaCompare(GX_GREATER, 0, GX_AOP_OR, GX_NEVER, 0);
GXSetTevSwapMode(GX_TEVSTAGE1, GX_TEV_SWAP0, GX_TEV_SWAP1);
} else {
CGraphics::SetTevOp(kTS_Stage1, CGraphics::kEnvPassThru);
CGraphics::SetTevOp(kTS_Stage1, CGraphics::kEnvPassthru);
}
} else {
CGraphics::SetTevOp(kTS_Stage0, CGraphics::kEnvPassThru);
CGraphics::SetTevOp(kTS_Stage1, CGraphics::kEnvPassThru);
CGraphics::SetTevOp(kTS_Stage0, CGraphics::kEnvPassthru);
CGraphics::SetTevOp(kTS_Stage1, CGraphics::kEnvPassthru);
}
CGX::SetTevOrder(GX_TEVSTAGE0, GX_TEXCOORD0, GX_TEXMAP0, GX_COLOR0A0);