diff options
| author | Lioncash <mathew1800@gmail.com> | 2019-07-10 23:34:50 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2019-07-10 23:34:54 -0400 |
| commit | d4337eebdeb999df380394cdd20d054f5e9fe375 (patch) | |
| tree | b2c04979677aa138cbc3202c510a96040ba9adcd /Source/Core/VideoCommon/VertexManagerBase.cpp | |
| parent | 9802a5e16b5860d1c6b42beeb1b8ca883467e1b1 (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/VertexManagerBase.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VertexManagerBase.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/VertexManagerBase.cpp b/Source/Core/VideoCommon/VertexManagerBase.cpp index f196bfc48a..c9fa12f6bb 100644 --- a/Source/Core/VideoCommon/VertexManagerBase.cpp +++ b/Source/Core/VideoCommon/VertexManagerBase.cpp @@ -442,7 +442,7 @@ void VertexManagerBase::Flush() g_perf_query->EnableQuery(bpmem.zcontrol.early_ztest ? PQG_ZCOMP_ZCOMPLOC : PQG_ZCOMP); DrawCurrentBatch(base_index, num_indices, base_vertex); - INCSTAT(stats.this_frame.num_draw_calls); + INCSTAT(g_stats.this_frame.num_draw_calls); if (PerfQueryBase::ShouldEmulate()) g_perf_query->DisableQuery(bpmem.zcontrol.early_ztest ? PQG_ZCOMP_ZCOMPLOC : PQG_ZCOMP); |
