From 22e1aa5bb4a159d6d66a321f978917614aa36331 Mon Sep 17 00:00:00 2001 From: degasus Date: Tue, 8 Jul 2014 14:29:26 +0200 Subject: mark all local functions as static --- Source/Core/VideoCommon/VertexLoader.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'Source/Core/VideoCommon/VertexLoader.cpp') diff --git a/Source/Core/VideoCommon/VertexLoader.cpp b/Source/Core/VideoCommon/VertexLoader.cpp index bdf58899e4..e248a83604 100644 --- a/Source/Core/VideoCommon/VertexLoader.cpp +++ b/Source/Core/VideoCommon/VertexLoader.cpp @@ -84,13 +84,13 @@ static const float fractionTable[32] = { using namespace Gen; -void LOADERDECL PosMtx_ReadDirect_UByte() +static void LOADERDECL PosMtx_ReadDirect_UByte() { s_curposmtx = DataReadU8() & 0x3f; PRIM_LOG("posmtx: %d, ", s_curposmtx); } -void LOADERDECL PosMtx_Write() +static void LOADERDECL PosMtx_Write() { DataWrite(s_curposmtx); DataWrite(0); @@ -101,7 +101,7 @@ void LOADERDECL PosMtx_Write() s_curposmtx = (u8) MatrixIndexA.PosNormalMtxIdx; } -void LOADERDECL UpdateBoundingBoxPrepare() +static void LOADERDECL UpdateBoundingBoxPrepare() { if (!PixelEngine::bbox_active) return; @@ -112,7 +112,7 @@ void LOADERDECL UpdateBoundingBoxPrepare() VertexManager::s_pCurBufferPointer = (u8*)s_bbox_vertex_buffer; } -inline bool UpdateBoundingBoxVars() +static inline bool UpdateBoundingBoxVars() { switch (s_bbox_primitive) { @@ -198,7 +198,7 @@ inline bool UpdateBoundingBoxVars() } } -void LOADERDECL UpdateBoundingBox() +static void LOADERDECL UpdateBoundingBox() { if (!PixelEngine::bbox_active) return; @@ -431,25 +431,25 @@ void LOADERDECL UpdateBoundingBox() PixelEngine::bbox[3] = (bottom > PixelEngine::bbox[3]) ? bottom : PixelEngine::bbox[3]; } -void LOADERDECL TexMtx_ReadDirect_UByte() +static void LOADERDECL TexMtx_ReadDirect_UByte() { s_curtexmtx[s_texmtxread] = DataReadU8() & 0x3f; PRIM_LOG("texmtx%d: %d, ", s_texmtxread, s_curtexmtx[s_texmtxread]); s_texmtxread++; } -void LOADERDECL TexMtx_Write_Float() +static void LOADERDECL TexMtx_Write_Float() { DataWrite(float(s_curtexmtx[s_texmtxwrite++])); } -void LOADERDECL TexMtx_Write_Float2() +static void LOADERDECL TexMtx_Write_Float2() { DataWrite(0.f); DataWrite(float(s_curtexmtx[s_texmtxwrite++])); } -void LOADERDECL TexMtx_Write_Float4() +static void LOADERDECL TexMtx_Write_Float4() { DataWrite(0.f); DataWrite(0.f); -- cgit v1.2.3