summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VertexLoader_Normal.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-05-29 22:13:18 -0400
committerLioncash <mathew1800@gmail.com>2019-05-29 22:13:20 -0400
commit3b8fb22d932d684de01aa5cf003831dc27bf5464 (patch)
treedf08809c5803cd59aae0e5f132e4d91409d2458d /Source/Core/VideoCommon/VertexLoader_Normal.cpp
parent80d8173d29749b13ccdf84e75641e179ea34768b (diff)
VideoCommon/VertexLoader_Normal: Tidy up function declarations
We can use u32 to shorten up the function declarations. While we're at it, remove unnecessary comments. These don't help with understanding.
Diffstat (limited to 'Source/Core/VideoCommon/VertexLoader_Normal.cpp')
-rw-r--r--Source/Core/VideoCommon/VertexLoader_Normal.cpp11
1 files changed, 4 insertions, 7 deletions
diff --git a/Source/Core/VideoCommon/VertexLoader_Normal.cpp b/Source/Core/VideoCommon/VertexLoader_Normal.cpp
index 06b80c10f3..129ca85036 100644
--- a/Source/Core/VideoCommon/VertexLoader_Normal.cpp
+++ b/Source/Core/VideoCommon/VertexLoader_Normal.cpp
@@ -176,15 +176,12 @@ void VertexLoader_Normal::Init()
m_Table[NRM_INDEX16][NRM_INDICES3][NRM_NBT3][FORMAT_FLOAT] = Normal_Index_Indices3<u16, float>();
}
-unsigned int VertexLoader_Normal::GetSize(u64 _type, unsigned int _format, unsigned int _elements,
- unsigned int _index3)
+u32 VertexLoader_Normal::GetSize(u64 type, u32 format, u32 elements, u32 index3)
{
- return m_Table[_type][_index3][_elements][_format].gc_size;
+ return m_Table[type][index3][elements][format].gc_size;
}
-TPipelineFunction VertexLoader_Normal::GetFunction(u64 _type, unsigned int _format,
- unsigned int _elements, unsigned int _index3)
+TPipelineFunction VertexLoader_Normal::GetFunction(u64 type, u32 format, u32 elements, u32 index3)
{
- TPipelineFunction pFunc = m_Table[_type][_index3][_elements][_format].function;
- return pFunc;
+ return m_Table[type][index3][elements][format].function;
}