summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VertexLoaderBase.cpp
diff options
context:
space:
mode:
authorPokechu22 <Pokechu022@gmail.com>2022-04-22 12:50:44 -0700
committerPokechu22 <Pokechu022@gmail.com>2022-04-22 16:54:36 -0700
commit04fdadd9d5f9588055fb54571410febfa710b86d (patch)
tree556444ad28b1c72d71364539a1f69722420ac50a /Source/Core/VideoCommon/VertexLoaderBase.cpp
parent88134a6786b102dbb9b473fa42d748ae9c64af91 (diff)
VideoCommon: Rename norm0/norm1/norm2 to normal/tangent/binormal
Diffstat (limited to 'Source/Core/VideoCommon/VertexLoaderBase.cpp')
-rw-r--r--Source/Core/VideoCommon/VertexLoaderBase.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/VertexLoaderBase.cpp b/Source/Core/VideoCommon/VertexLoaderBase.cpp
index 12f33bf038..2b6c3cdd21 100644
--- a/Source/Core/VideoCommon/VertexLoaderBase.cpp
+++ b/Source/Core/VideoCommon/VertexLoaderBase.cpp
@@ -151,9 +151,9 @@ u32 VertexLoaderBase::GetVertexComponents(const TVtxDesc& vtx_desc, const VAT& v
// Vertices always have positions; thus there is no VB_HAS_POS as it would always be set
if (vtx_desc.low.Normal != VertexComponentFormat::NotPresent)
{
- components |= VB_HAS_NRM0;
+ components |= VB_HAS_NORMAL;
if (vtx_attr.g0.NormalElements == NormalComponentCount::NBT)
- components |= VB_HAS_NRM1 | VB_HAS_NRM2;
+ components |= VB_HAS_TANGENT | VB_HAS_BINORMAL;
}
for (u32 i = 0; i < vtx_desc.low.Color.Size(); i++)
{