diff options
| author | Anthony <Helios747@users.noreply.github.com> | 2019-12-07 18:38:06 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-12-07 18:38:06 -0800 |
| commit | b39756dbce310f658b766597054c59662ca930e5 (patch) | |
| tree | 742f4fb2701bac172b7a0eb2d3ec95ff3579cd31 /Source/Core/VideoCommon/VertexLoaderManager.cpp | |
| parent | 5a5c46a8b15990e1e38636d017c28572e4370745 (diff) | |
| parent | 10f76746515a9a7bd8122f40c33b65813aa17b38 (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.cpp | 3 |
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); |
