mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 04:38:49 +00:00
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.
This commit is contained in:
parent
9802a5e16b
commit
d4337eebde
20 changed files with 95 additions and 95 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue