mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
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.
This commit is contained in:
parent
911755242d
commit
8268b6f454
7 changed files with 138 additions and 147 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue