From 3437c7f060a63b13f0f353949a53a0be25ad4585 Mon Sep 17 00:00:00 2001 From: degasus Date: Thu, 30 Jan 2014 14:48:23 +0100 Subject: VideoCommon: small VertexLoader(Manager)? refactoring --- Source/Core/VideoCommon/VertexManagerBase.cpp | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'Source/Core/VideoCommon/VertexManagerBase.cpp') diff --git a/Source/Core/VideoCommon/VertexManagerBase.cpp b/Source/Core/VideoCommon/VertexManagerBase.cpp index 18a6c81dd6..c4980ae190 100644 --- a/Source/Core/VideoCommon/VertexManagerBase.cpp +++ b/Source/Core/VideoCommon/VertexManagerBase.cpp @@ -140,17 +140,6 @@ u32 VertexManager::GetRemainingIndices(int primitive) } } -void VertexManager::AddVertices(int primitive, u32 numVertices) -{ - if (numVertices <= 0) - return; - - ADDSTAT(stats.thisFrame.numPrims, numVertices); - INCSTAT(stats.thisFrame.numPrimitiveJoins); - - IndexGenerator::AddIndices(primitive, numVertices); -} - void VertexManager::Flush() { if (IsFlushed) return; -- cgit v1.2.3