summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VertexShaderManager.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-07-10 23:34:50 -0400
committerLioncash <mathew1800@gmail.com>2019-07-10 23:34:54 -0400
commitd4337eebdeb999df380394cdd20d054f5e9fe375 (patch)
treeb2c04979677aa138cbc3202c510a96040ba9adcd /Source/Core/VideoCommon/VertexShaderManager.cpp
parent9802a5e16b5860d1c6b42beeb1b8ca883467e1b1 (diff)
VideoCommon/Statistics: Rename stats global to g_stats
Makes the global variable follow our convention of prefixing g_ on global variables to make it obvious in surrounding code that it's not a local variable.
Diffstat (limited to 'Source/Core/VideoCommon/VertexShaderManager.cpp')
-rw-r--r--Source/Core/VideoCommon/VertexShaderManager.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/VideoCommon/VertexShaderManager.cpp b/Source/Core/VideoCommon/VertexShaderManager.cpp
index 2cfc19993f..59a89be52d 100644
--- a/Source/Core/VideoCommon/VertexShaderManager.cpp
+++ b/Source/Core/VideoCommon/VertexShaderManager.cpp
@@ -374,7 +374,7 @@ void VertexShaderManager::SetConstants()
g_fProjectionMatrix[14] = -1.0f;
g_fProjectionMatrix[15] = 0.0f;
- stats.gproj = g_fProjectionMatrix;
+ g_stats.gproj = g_fProjectionMatrix;
break;
case GX_ORTHOGRAPHIC:
@@ -399,8 +399,8 @@ void VertexShaderManager::SetConstants()
g_fProjectionMatrix[14] = 0.0f;
g_fProjectionMatrix[15] = 1.0f;
- stats.g2proj = g_fProjectionMatrix;
- stats.proj = rawProjection;
+ g_stats.g2proj = g_fProjectionMatrix;
+ g_stats.proj = rawProjection;
break;
default: