mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 04:38:49 +00:00
VideoCommon/VertexLoader: Remove NRM enum
This commit is contained in:
parent
f6a343df79
commit
0c62ae9c1a
2 changed files with 1 additions and 10 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue