Merge pull request #2050 from Tilka/reset_vertex_loader_stats

VertexLoaderManager: reset stats properly
This commit is contained in:
skidau 2015-02-23 13:10:38 +11:00
commit f8e51a1a26
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()