summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VertexLoader.cpp
diff options
context:
space:
mode:
authorRyan Houdek <Sonicadvance1@gmail.com>2015-02-12 18:50:10 -0600
committerRyan Houdek <Sonicadvance1@gmail.com>2015-02-13 12:16:06 -0600
commit15e41c67f8fdb527af3267790154538454412596 (patch)
tree714b19bc53b831ce4b80d9d5efd5e520bedbc7a0 /Source/Core/VideoCommon/VertexLoader.cpp
parentb989c2fd8fc81c6b9f4746a3bed8bee6238d3f14 (diff)
Change RunVertices' function arguments.
This reduces some dumb state shuffling when calling the emitted vertex loaders.
Diffstat (limited to 'Source/Core/VideoCommon/VertexLoader.cpp')
-rw-r--r--Source/Core/VideoCommon/VertexLoader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/VertexLoader.cpp b/Source/Core/VideoCommon/VertexLoader.cpp
index 9538b1b11d..881424052c 100644
--- a/Source/Core/VideoCommon/VertexLoader.cpp
+++ b/Source/Core/VideoCommon/VertexLoader.cpp
@@ -316,7 +316,7 @@ void VertexLoader::WriteCall(TPipelineFunction func)
m_PipelineStages[m_numPipelineStages++] = func;
}
-int VertexLoader::RunVertices(int primitive, int count, DataReader src, DataReader dst)
+int VertexLoader::RunVertices(DataReader src, DataReader dst, int count, int primitive)
{
g_vertex_manager_write_ptr = dst.GetPointer();
g_video_buffer_read_ptr = src.GetPointer();