mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 06:39:46 -06:00
VertexLoader: Add a VertexLoader pointer to each function call
This commit is contained in:
@ -30,7 +30,7 @@ static TVtxDesc vertexDesc;
|
||||
static PortableVertexDeclaration vertexDecl;
|
||||
|
||||
// Gets the pointer to the current buffer position
|
||||
void LOADERDECL SetVertexBufferPosition()
|
||||
void LOADERDECL SetVertexBufferPosition(VertexLoader* loader)
|
||||
{
|
||||
bufferPos = g_vertex_manager_write_ptr;
|
||||
}
|
||||
@ -76,7 +76,7 @@ void Prepare(const VAT & vat, int primitive, const TVtxDesc & vtxDesc, const Por
|
||||
}
|
||||
|
||||
// Updates the bounding box
|
||||
void LOADERDECL Update()
|
||||
void LOADERDECL Update(VertexLoader* loader)
|
||||
{
|
||||
if (!active)
|
||||
return;
|
||||
|
Reference in New Issue
Block a user