From 04fdadd9d5f9588055fb54571410febfa710b86d Mon Sep 17 00:00:00 2001 From: Pokechu22 Date: Fri, 22 Apr 2022 12:50:44 -0700 Subject: VideoCommon: Rename norm0/norm1/norm2 to normal/tangent/binormal --- Source/Core/VideoCommon/VertexLoaderBase.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/Core/VideoCommon/VertexLoaderBase.cpp') 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++) { -- cgit v1.2.3