Change RunVertices' function arguments.

This reduces some dumb state shuffling when calling the emitted vertex loaders.
This commit is contained in:
Ryan Houdek
2015-02-12 18:50:10 -06:00
parent b989c2fd8f
commit 15e41c67f8
8 changed files with 11 additions and 11 deletions

View File

@ -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();