summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Statistics.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2017-03-26 22:52:10 -0400
committerLioncash <mathew1800@gmail.com>2017-03-26 23:50:09 -0400
commit9ebd84e54afecee306b4bbc97fa15604def37310 (patch)
tree753d8ff6528628e92671e8348c8df68e3eca83b7 /Source/Core/VideoCommon/Statistics.cpp
parent9859533ab461c6d509337d8b9013a7ba62dd78ae (diff)
VertexLoaderManager: Return debug strings by value
This also renames AppendListToString to VertexLoadersToString.
Diffstat (limited to 'Source/Core/VideoCommon/Statistics.cpp')
-rw-r--r--Source/Core/VideoCommon/Statistics.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/Statistics.cpp b/Source/Core/VideoCommon/Statistics.cpp
index 1497a3df30..0a4a9236b0 100644
--- a/Source/Core/VideoCommon/Statistics.cpp
+++ b/Source/Core/VideoCommon/Statistics.cpp
@@ -68,8 +68,7 @@ std::string Statistics::ToString()
str += StringFromFormat("Uniform streamed: %i kB\n", stats.thisFrame.bytesUniformStreamed / 1024);
str += StringFromFormat("Vertex Loaders: %i\n", stats.numVertexLoaders);
- std::string vertex_list;
- VertexLoaderManager::AppendListToString(&vertex_list);
+ std::string vertex_list = VertexLoaderManager::VertexLoadersToString();
// TODO : at some point text1 just becomes too huge and overflows, we can't even read the added
// stuff