summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VertexLoaderManager.cpp
diff options
context:
space:
mode:
authorTillmann Karras <tilkax@gmail.com>2015-02-13 00:15:57 +0100
committerTillmann Karras <tilkax@gmail.com>2015-02-14 02:30:05 +0100
commit1a52cff1c913e3747b2d5bc1bf97b200ddde8852 (patch)
tree90fc5d7121ac62367088dbf54b4e89e9c4aa1f52 /Source/Core/VideoCommon/VertexLoaderManager.cpp
parent6558704403aef17e89e44c22f111629ac214323f (diff)
VertexLoaderManager: reset stats properly
Diffstat (limited to 'Source/Core/VideoCommon/VertexLoaderManager.cpp')
-rw-r--r--Source/Core/VideoCommon/VertexLoaderManager.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/VertexLoaderManager.cpp b/Source/Core/VideoCommon/VertexLoaderManager.cpp
index c15cadd267..35a7fdb5c1 100644
--- a/Source/Core/VideoCommon/VertexLoaderManager.cpp
+++ b/Source/Core/VideoCommon/VertexLoaderManager.cpp
@@ -43,6 +43,7 @@ void Init()
for (auto& map_entry : g_preprocess_cp_state.vertex_loaders)
map_entry = nullptr;
RecomputeCachedArraybases();
+ SETSTAT(stats.numVertexLoaders, 0);
}
void Shutdown()