summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VertexLoader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/VideoCommon/VertexLoader.cpp')
-rw-r--r--Source/Core/VideoCommon/VertexLoader.cpp18
1 files changed, 9 insertions, 9 deletions
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<u8>(s_curposmtx);
DataWrite<u8>(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);