diff options
| author | Ryan Houdek <Sonicadvance1@gmail.com> | 2015-11-03 08:34:30 -0500 |
|---|---|---|
| committer | Ryan Houdek <Sonicadvance1@gmail.com> | 2015-11-03 08:34:30 -0500 |
| commit | c04358fbe28a80fa462dce1ff71c02820f87bd29 (patch) | |
| tree | 3b0191c0c9017a96070f63e67e645c7bcb2c27de /Source/Core/VideoCommon/VertexLoaderManager.cpp | |
| parent | 3de1ec384aabf43286a5335c8092cdb51bdd648c (diff) | |
| parent | a656c05be29f22d39013d42ea4b06c944db15cea (diff) | |
Merge pull request #3222 from Tilka/vertexmanagerbase
VideoCommon: rename VertexManager to VertexManagerBase
Diffstat (limited to 'Source/Core/VideoCommon/VertexLoaderManager.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VertexLoaderManager.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/VideoCommon/VertexLoaderManager.cpp b/Source/Core/VideoCommon/VertexLoaderManager.cpp index bc4f136500..50f50cb78e 100644 --- a/Source/Core/VideoCommon/VertexLoaderManager.cpp +++ b/Source/Core/VideoCommon/VertexLoaderManager.cpp @@ -188,7 +188,7 @@ int RunVertices(int vtx_attr_group, int primitive, int count, DataReader src, bo if (loader->m_native_vertex_format != s_current_vtx_fmt || loader->m_native_components != g_current_components) { - VertexManager::Flush(); + VertexManagerBase::Flush(); } s_current_vtx_fmt = loader->m_native_vertex_format; g_current_components = loader->m_native_components; @@ -197,14 +197,14 @@ int RunVertices(int vtx_attr_group, int primitive, int count, DataReader src, bo // They still need to go through vertex loading, because we need to calculate a zfreeze refrence slope. bool cullall = (bpmem.genMode.cullmode == GenMode::CULL_ALL && primitive < 5); - DataReader dst = VertexManager::PrepareForAdditionalData(primitive, count, + DataReader dst = VertexManagerBase::PrepareForAdditionalData(primitive, count, loader->m_native_vtx_decl.stride, cullall); count = loader->RunVertices(src, dst, count); IndexGenerator::AddIndices(primitive, count); - VertexManager::FlushData(count, loader->m_native_vtx_decl.stride); + VertexManagerBase::FlushData(count, loader->m_native_vtx_decl.stride); ADDSTAT(stats.thisFrame.numPrims, count); INCSTAT(stats.thisFrame.numPrimitiveJoins); |
