VideoCommon/VertexLoader: Remove NRM enum

This commit is contained in:
Jens Nyberg
2014-03-26 22:54:40 +01:00
parent f6a343df79
commit 0c62ae9c1a
2 changed files with 1 additions and 10 deletions

View File

@ -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;
}