VertexLoader: Add a VertexLoader pointer to each function call

This commit is contained in:
degasus committed 2014-12-21 14:13:04 +01:00
1 parent 7edf6ec4e4
commit 7c486a8c24
9 files changed
+178 -172

No files matched your search

+2 -2
View File
@@ -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;