mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-05 15:48:51 +00:00
VideoCommon: small VertexLoader(Manager)? refactoring
This commit is contained in:
parent
010a0d481a
commit
3437c7f060
5 changed files with 31 additions and 38 deletions
|
@ -140,17 +140,6 @@ u32 VertexManager::GetRemainingIndices(int primitive)
|
|||
}
|
||||
}
|
||||
|
||||
void VertexManager::AddVertices(int primitive, u32 numVertices)
|
||||
{
|
||||
if (numVertices <= 0)
|
||||
return;
|
||||
|
||||
ADDSTAT(stats.thisFrame.numPrims, numVertices);
|
||||
INCSTAT(stats.thisFrame.numPrimitiveJoins);
|
||||
|
||||
IndexGenerator::AddIndices(primitive, numVertices);
|
||||
}
|
||||
|
||||
void VertexManager::Flush()
|
||||
{
|
||||
if (IsFlushed) return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue