diff options
| author | Lioncash <mathew1800@gmail.com> | 2019-05-29 22:54:21 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2019-05-30 00:52:57 -0400 |
| commit | 8268b6f454fdba44cd6be4e8abec431b1a2e422a (patch) | |
| tree | a3e9bc597634eda7e07c84711b49658d29816959 /Source/Core/VideoCommon/VertexLoader.cpp | |
| parent | 911755242d1b10d37432d670edd62e18a1133f06 (diff) | |
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.
Diffstat (limited to 'Source/Core/VideoCommon/VertexLoader.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VertexLoader.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
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 |
