summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VertexLoader.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/VertexLoader.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/VertexLoader.cpp')
-rw-r--r--Source/Core/VideoCommon/VertexLoader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/VertexLoader.cpp b/Source/Core/VideoCommon/VertexLoader.cpp
index 751778dd24..8176027b45 100644
--- a/Source/Core/VideoCommon/VertexLoader.cpp
+++ b/Source/Core/VideoCommon/VertexLoader.cpp
@@ -129,7 +129,7 @@ void VertexLoader::CompileVertexTranslator()
}
WriteCall(pFunc);
- for (int i = 0; i < (m_VtxAttr.g0.NormalElements == NormalComponentCount::NBT ? 3 : 1); i++)
+ for (int i = 0; i < (m_VtxAttr.g0.NormalElements == NormalComponentCount::NTB ? 3 : 1); i++)
{
m_native_vtx_decl.normals[i].components = 3;
m_native_vtx_decl.normals[i].enable = true;