summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VertexLoaderManager.cpp
diff options
context:
space:
mode:
authorAnthony <Helios747@users.noreply.github.com>2019-12-07 18:38:06 -0800
committerGitHub <noreply@github.com>2019-12-07 18:38:06 -0800
commitb39756dbce310f658b766597054c59662ca930e5 (patch)
tree742f4fb2701bac172b7a0eb2d3ec95ff3579cd31 /Source/Core/VideoCommon/VertexLoaderManager.cpp
parent5a5c46a8b15990e1e38636d017c28572e4370745 (diff)
parent10f76746515a9a7bd8122f40c33b65813aa17b38 (diff)
Merge pull request #8512 from lioncash/index
VideoCommon/IndexGenerator: Eliminate static state
Diffstat (limited to 'Source/Core/VideoCommon/VertexLoaderManager.cpp')
-rw-r--r--Source/Core/VideoCommon/VertexLoaderManager.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/VertexLoaderManager.cpp b/Source/Core/VideoCommon/VertexLoaderManager.cpp
index 81b537c297..bcbf64d3d4 100644
--- a/Source/Core/VideoCommon/VertexLoaderManager.cpp
+++ b/Source/Core/VideoCommon/VertexLoaderManager.cpp
@@ -283,8 +283,7 @@ int RunVertices(int vtx_attr_group, int primitive, int count, DataReader src, bo
count = loader->RunVertices(src, dst, count);
- IndexGenerator::AddIndices(primitive, count);
-
+ g_vertex_manager->AddIndices(primitive, count);
g_vertex_manager->FlushData(count, loader->m_native_vtx_decl.stride);
ADDSTAT(g_stats.this_frame.num_prims, count);