From c52c73f7622c4d4b4cbe7506e62c195c940fd61e Mon Sep 17 00:00:00 2001 From: Tillmann Karras Date: Sun, 1 Nov 2015 22:54:41 +0100 Subject: VideoCommon: VertexManager -> VertexManagerBase It may be a bit weird to see calls to static functions in VertexManagerBase now, but at least it's easier to see what's going on. --- Source/Core/VideoCommon/VertexLoaderManager.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Source/Core/VideoCommon/VertexLoaderManager.cpp') 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); -- cgit v1.2.3