VertexLoader: take the VAT object directly for RunVertices

This commit is contained in:
Pierre Bourdon
2014-07-24 01:51:37 +02:00
parent 069801a7d1
commit 78c3a22060
3 changed files with 15 additions and 15 deletions

View File

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