summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VertexLoaderManager.cpp
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2014-07-24 01:51:37 +0200
committerPierre Bourdon <delroth@gmail.com>2014-07-24 01:51:37 +0200
commit78c3a220600b6cbbd063693d89d423a985125408 (patch)
tree2cbbfd8f027f42dc4523328955ba65c6af146e0b /Source/Core/VideoCommon/VertexLoaderManager.cpp
parent069801a7d16653ec6c8b95b59e84b37d93a0d349 (diff)
VertexLoader: take the VAT object directly for RunVertices
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 d8417042b7..16bb4689ac 100644
--- a/Source/Core/VideoCommon/VertexLoaderManager.cpp
+++ b/Source/Core/VideoCommon/VertexLoaderManager.cpp
@@ -126,7 +126,7 @@ void RunVertices(int vtx_attr_group, int primitive, int count)
{
if (!count)
return;
- RefreshLoader(vtx_attr_group)->RunVertices(vtx_attr_group, primitive, count);
+ RefreshLoader(vtx_attr_group)->RunVertices(g_VtxAttr[vtx_attr_group], primitive, count);
}
int GetVertexSize(int vtx_attr_group)