summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VertexLoaderBase.cpp
diff options
context:
space:
mode:
authorPokechu22 <pokechu022@gmail.com>2022-05-19 13:13:53 -0700
committerGitHub <noreply@github.com>2022-05-19 13:13:53 -0700
commit2aa0ae097b54ccb582e33ed7fa129031f381a21c (patch)
tree6828bc205972d44e575c2c3002e43c15f7a9d9ad /Source/Core/VideoCommon/VertexLoaderBase.cpp
parent8baeb75bd26f69c9239691c058a488082ad54870 (diff)
parent8df55b492c52401f88393295479d6fbeba92ad9b (diff)
Merge pull request #10672 from Pokechu22/xf-invtxspec
Show panic alerts if the CP configuration doesn't match the XF configuration
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++)