summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VertexShaderManager.cpp
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2014-07-11 16:37:42 +0200
committerPierre Bourdon <delroth@gmail.com>2014-07-11 16:37:42 +0200
commit84bf097fb76304eb27d625e5f221dfb5ce922b1f (patch)
tree57079ff88525dade11b2d1901357e221df6ddab7 /Source/Core/VideoCommon/VertexShaderManager.cpp
parent326af097d9708ea49d54996aec46a7fa328cec1e (diff)
parent7e79806efcd5c5e41efea89fa385b480ac1882f5 (diff)
Merge pull request #579 from degasus/statics
Mark unexported global variables and functions as statics.
Diffstat (limited to 'Source/Core/VideoCommon/VertexShaderManager.cpp')
-rw-r--r--Source/Core/VideoCommon/VertexShaderManager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/VertexShaderManager.cpp b/Source/Core/VideoCommon/VertexShaderManager.cpp
index b09ff4d32a..dd233403cb 100644
--- a/Source/Core/VideoCommon/VertexShaderManager.cpp
+++ b/Source/Core/VideoCommon/VertexShaderManager.cpp
@@ -18,7 +18,7 @@
#include "VideoCommon/VideoConfig.h"
#include "VideoCommon/XFMemory.h"
-float GC_ALIGNED16(g_fProjectionMatrix[16]);
+static float GC_ALIGNED16(g_fProjectionMatrix[16]);
// track changes
static bool bTexMatricesChanged[2], bPosNormalMatrixChanged, bProjectionChanged, bViewportChanged;
@@ -53,7 +53,7 @@ static ProjectionHack g_ProjHack1;
static ProjectionHack g_ProjHack2;
} // Namespace
-float PHackValue(std::string sValue)
+static float PHackValue(std::string sValue)
{
float f = 0;
bool fp = false;