mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06: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:
@ -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
|
||||
|
Reference in New Issue
Block a user