From da754cef889cf49b543c309851a950a5cd058b07 Mon Sep 17 00:00:00 2001 From: Luke Street Date: Sun, 16 Oct 2022 23:01:00 -0400 Subject: [PATCH] Rename kEnvPassThru -> kEnvPassthru Former-commit-id: 608f1031633a6a204fb25e3fbc2641f8f5d31f47 --- include/Kyoto/Graphics/CGraphics.hpp | 2 +- src/Weapons/CDecal.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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);