Change RunVertices' function arguments.

This reduces some dumb state shuffling when calling the emitted vertex loaders.
This commit is contained in:
Ryan Houdek
2015-02-12 18:50:10 -06:00
parent b989c2fd8f
commit 15e41c67f8
8 changed files with 11 additions and 11 deletions

View File

@ -32,7 +32,7 @@ class VertexLoader : public VertexLoaderBase
public:
VertexLoader(const TVtxDesc &vtx_desc, const VAT &vtx_attr);
int RunVertices(int primitive, int count, DataReader src, DataReader dst) override;
int RunVertices(DataReader src, DataReader dst, int count, int primitive) override;
std::string GetName() const override { return "OldLoader"; }
bool IsInitialized() override { return true; } // This vertex loader supports all formats