From 7c486a8c243c3bb223b1d31aab34bf039c6a02a1 Mon Sep 17 00:00:00 2001 From: degasus Date: Sat, 13 Dec 2014 10:57:46 +0100 Subject: VertexLoader: Add a VertexLoader pointer to each function call --- Source/Core/VideoCommon/BoundingBox.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/Core/VideoCommon/BoundingBox.cpp') diff --git a/Source/Core/VideoCommon/BoundingBox.cpp b/Source/Core/VideoCommon/BoundingBox.cpp index 4b4400f2e7..9ea0fa5689 100644 --- a/Source/Core/VideoCommon/BoundingBox.cpp +++ b/Source/Core/VideoCommon/BoundingBox.cpp @@ -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; -- cgit v1.2.3