summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VertexLoaderBase.cpp
diff options
context:
space:
mode:
authorPokechu22 <Pokechu022@gmail.com>2022-05-17 11:54:24 -0700
committerPokechu22 <Pokechu022@gmail.com>2022-05-18 14:43:14 -0700
commit46bcdc4372209f343ff28994770c0666a0d6c3ac (patch)
treef66a6575f755b6b72a1ba4816359406e2e07257c /Source/Core/VideoCommon/VertexLoaderBase.cpp
parent736466a5d91c77cdcd3966e48b071c4f52658159 (diff)
Rename CP and XF normal component count enums and update their descriptions
Diffstat (limited to 'Source/Core/VideoCommon/VertexLoaderBase.cpp')
-rw-r--r--Source/Core/VideoCommon/VertexLoaderBase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/VertexLoaderBase.cpp b/Source/Core/VideoCommon/VertexLoaderBase.cpp
index 2b6c3cdd21..678246783d 100644
--- a/Source/Core/VideoCommon/VertexLoaderBase.cpp
+++ b/Source/Core/VideoCommon/VertexLoaderBase.cpp
@@ -152,7 +152,7 @@ u32 VertexLoaderBase::GetVertexComponents(const TVtxDesc& vtx_desc, const VAT& v
if (vtx_desc.low.Normal != VertexComponentFormat::NotPresent)
{
components |= VB_HAS_NORMAL;
- if (vtx_attr.g0.NormalElements == NormalComponentCount::NBT)
+ if (vtx_attr.g0.NormalElements == NormalComponentCount::NTB)
components |= VB_HAS_TANGENT | VB_HAS_BINORMAL;
}
for (u32 i = 0; i < vtx_desc.low.Color.Size(); i++)