diff options
| author | Pokechu22 <Pokechu022@gmail.com> | 2021-03-10 18:48:26 -0800 |
|---|---|---|
| committer | Pokechu22 <Pokechu022@gmail.com> | 2021-05-07 15:42:13 -0700 |
| commit | b6149623aae83ff278b7c3de9afd8d2e9bda94a3 (patch) | |
| tree | ded51ced8c3a1335ea5644028ea85e136dd8bed2 /Source/Core/VideoCommon/VertexLoaderManager.cpp | |
| parent | bc7da726a5b8cc8e9c229a62796993a9e1119362 (diff) | |
Remove VertexLoader::ToString
Diffstat (limited to 'Source/Core/VideoCommon/VertexLoaderManager.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VertexLoaderManager.cpp | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/Source/Core/VideoCommon/VertexLoaderManager.cpp b/Source/Core/VideoCommon/VertexLoaderManager.cpp index 94a331a0d2..ab362fc29c 100644 --- a/Source/Core/VideoCommon/VertexLoaderManager.cpp +++ b/Source/Core/VideoCommon/VertexLoaderManager.cpp @@ -114,34 +114,6 @@ struct entry }; } // namespace -std::string VertexLoadersToString() -{ - std::lock_guard<std::mutex> lk(s_vertex_loader_map_lock); - std::vector<entry> entries; - - size_t total_size = 0; - for (const auto& map_entry : s_vertex_loader_map) - { - entry e = {map_entry.second->ToString(), - static_cast<u64>(map_entry.second->m_numLoadedVertices)}; - - total_size += e.text.size() + 1; - entries.push_back(std::move(e)); - } - - sort(entries.begin(), entries.end()); - - std::string dest; - dest.reserve(total_size); - for (const entry& entry : entries) - { - dest += entry.text; - dest += '\n'; - } - - return dest; -} - void MarkAllDirty() { g_main_cp_state.attr_dirty = BitSet32::AllTrue(8); |
