summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VertexLoaderManager.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/VertexLoaderManager.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/VertexLoaderManager.cpp')
-rw-r--r--Source/Core/VideoCommon/VertexLoaderManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/VertexLoaderManager.cpp b/Source/Core/VideoCommon/VertexLoaderManager.cpp
index c15cadd267..506e3d92d1 100644
--- a/Source/Core/VideoCommon/VertexLoaderManager.cpp
+++ b/Source/Core/VideoCommon/VertexLoaderManager.cpp
@@ -164,7 +164,7 @@ int RunVertices(int vtx_attr_group, int primitive, int count, DataReader src, bo
DataReader dst = VertexManager::PrepareForAdditionalData(primitive, count,
loader->m_native_vtx_decl.stride, cullall);
- count = loader->RunVertices(primitive, count, src, dst);
+ count = loader->RunVertices(src, dst, count, primitive);
IndexGenerator::AddIndices(primitive, count);