From 6f715a1fbefa6d1bdd9894bf88016ea92fa635b7 Mon Sep 17 00:00:00 2001 From: Pierre Bourdon Date: Fri, 1 Aug 2014 23:42:15 -0700 Subject: VertexLoader: Remove more global state dependencies (this time IndexGenerator and VertexManager) --- Source/Core/VideoCommon/VertexLoader.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'Source/Core/VideoCommon/VertexLoader.cpp') diff --git a/Source/Core/VideoCommon/VertexLoader.cpp b/Source/Core/VideoCommon/VertexLoader.cpp index 9417b7e78f..136cc33795 100644 --- a/Source/Core/VideoCommon/VertexLoader.cpp +++ b/Source/Core/VideoCommon/VertexLoader.cpp @@ -12,16 +12,13 @@ #include "VideoCommon/BPMemory.h" #include "VideoCommon/DataReader.h" -#include "VideoCommon/IndexGenerator.h" #include "VideoCommon/LookUpTables.h" #include "VideoCommon/PixelEngine.h" -#include "VideoCommon/Statistics.h" #include "VideoCommon/VertexLoader.h" #include "VideoCommon/VertexLoader_Color.h" #include "VideoCommon/VertexLoader_Normal.h" #include "VideoCommon/VertexLoader_Position.h" #include "VideoCommon/VertexLoader_TextCoord.h" -#include "VideoCommon/VertexLoaderManager.h" #include "VideoCommon/VideoCommon.h" #include "VideoCommon/VideoConfig.h" @@ -866,13 +863,7 @@ void VertexLoader::RunVertices(const VAT& vat, int primitive, int const count) return; } SetupRunVertices(vat, primitive, count); - VertexManager::PrepareForAdditionalData(primitive, count, - m_native_vtx_decl.stride); ConvertVertices(count); - IndexGenerator::AddIndices(primitive, count); - - ADDSTAT(stats.thisFrame.numPrims, count); - INCSTAT(stats.thisFrame.numPrimitiveJoins); } void VertexLoader::SetVAT(const VAT& vat) -- cgit v1.2.3