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; } diff --git a/Source/Core/VideoCommon/VertexLoader.h b/Source/Core/VideoCommon/VertexLoader.h index 01c4bb0acd..de33e44a39 100644 --- a/Source/Core/VideoCommon/VertexLoader.h +++ b/Source/Core/VideoCommon/VertexLoader.h @@ -107,13 +107,6 @@ public: int GetNumLoadedVerts() const { return m_numLoadedVertices; } private: - enum - { - NRM_ZERO = 0, - NRM_ONE = 1, - NRM_THREE = 3, - }; - int m_VertexSize; // number of bytes of a raw GC vertex. Computed by CompileVertexTranslator. // GC vertex format