From 8268b6f454fdba44cd6be4e8abec431b1a2e422a Mon Sep 17 00:00:00 2001 From: Lioncash Date: Wed, 29 May 2019 22:54:21 -0400 Subject: VideoCommon/VertexLoader_Normal: Initialize function table at compile-time Makes VertexLoader_Normal completely stateless, eliminating the need for an Init() function, and by extension, also gets rid of the need for the FifoAnalyzer to have an Init() function. --- Source/Core/VideoCommon/VertexLoader.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'Source/Core/VideoCommon/VertexLoader.cpp') diff --git a/Source/Core/VideoCommon/VertexLoader.cpp b/Source/Core/VideoCommon/VertexLoader.cpp index f89089049d..e20ca9eadd 100644 --- a/Source/Core/VideoCommon/VertexLoader.cpp +++ b/Source/Core/VideoCommon/VertexLoader.cpp @@ -68,8 +68,6 @@ static void SkipVertex(VertexLoader* loader) VertexLoader::VertexLoader(const TVtxDesc& vtx_desc, const VAT& vtx_attr) : VertexLoaderBase(vtx_desc, vtx_attr) { - VertexLoader_Normal::Init(); - CompileVertexTranslator(); // generate frac factors -- cgit v1.2.3