diff --git a/include/Kyoto/Graphics/CGraphics.hpp b/include/Kyoto/Graphics/CGraphics.hpp index 9b5cd4b8..d70a0dcc 100644 --- a/include/Kyoto/Graphics/CGraphics.hpp +++ b/include/Kyoto/Graphics/CGraphics.hpp @@ -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; diff --git a/src/Weapons/CDecal.cpp b/src/Weapons/CDecal.cpp index 1493485c..ebaf4863 100644 --- a/src/Weapons/CDecal.cpp +++ b/src/Weapons/CDecal.cpp @@ -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);