VertexLoaderManager: reset stats properly

This commit is contained in:
Tillmann Karras 2015-02-13 00:15:57 +01:00
parent 6558704403
commit 1a52cff1c9
1 changed files with 1 additions and 0 deletions

View File

@ -43,6 +43,7 @@ void Init()
for (auto& map_entry : g_preprocess_cp_state.vertex_loaders) for (auto& map_entry : g_preprocess_cp_state.vertex_loaders)
map_entry = nullptr; map_entry = nullptr;
RecomputeCachedArraybases(); RecomputeCachedArraybases();
SETSTAT(stats.numVertexLoaders, 0);
} }
void Shutdown() void Shutdown()