mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-09-21 03:41:42 +02:00
VertexLoaderManager: Use fill() in Init()
Same behavior, less code.
This commit is contained in:
parent
ea95c82a01
commit
4f40bdf501
1 changed files with 2 additions and 4 deletions
|
@ -64,10 +64,8 @@ bool g_needs_cp_xf_consistency_check;
|
||||||
void Init()
|
void Init()
|
||||||
{
|
{
|
||||||
MarkAllDirty();
|
MarkAllDirty();
|
||||||
for (auto& map_entry : g_main_vertex_loaders)
|
g_main_vertex_loaders.fill(nullptr);
|
||||||
map_entry = nullptr;
|
g_preprocess_vertex_loaders.fill(nullptr);
|
||||||
for (auto& map_entry : g_preprocess_vertex_loaders)
|
|
||||||
map_entry = nullptr;
|
|
||||||
SETSTAT(g_stats.num_vertex_loaders, 0);
|
SETSTAT(g_stats.num_vertex_loaders, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue