summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VertexLoader.cpp
diff options
context:
space:
mode:
authorJens Nyberg <jens.nyberg@gmail.com>2014-03-26 22:54:40 +0100
committerJens Nyberg <jens.nyberg@gmail.com>2014-03-26 23:56:57 +0100
commit0c62ae9c1a530acd255404f389c7859194d4a057 (patch)
tree5f8a9b7942a76789727dfca5f926612434e2a888 /Source/Core/VideoCommon/VertexLoader.cpp
parentf6a343df792e9ffdc607e50f446cfdcfc3fa8cad (diff)
VideoCommon/VertexLoader: Remove NRM enum
Diffstat (limited to 'Source/Core/VideoCommon/VertexLoader.cpp')
-rw-r--r--Source/Core/VideoCommon/VertexLoader.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/Core/VideoCommon/VertexLoader.cpp b/Source/Core/VideoCommon/VertexLoader.cpp
index f751bd0896..e36c4d848c 100644
--- a/Source/Core/VideoCommon/VertexLoader.cpp
+++ b/Source/Core/VideoCommon/VertexLoader.cpp
@@ -613,10 +613,8 @@ void VertexLoader::CompileVertexTranslator()
nat_offset += 12;
}
- int numNormals = (m_VtxAttr.NormalElements == 1) ? NRM_THREE : NRM_ONE;
components |= VB_HAS_NRM0;
-
- if (numNormals == NRM_THREE)
+ if (m_VtxAttr.NormalElements == 1)
components |= VB_HAS_NRM1 | VB_HAS_NRM2;
}