VertexLoaderManager: Return debug strings by value

This also renames AppendListToString to VertexLoadersToString.
This commit is contained in:
Lioncash committed 2017-03-26 23:50:09 -04:00
1 parent 9859533ab4
commit 9ebd84e54a
3 files changed
+11 -7

No files matched your search

+1 -2
View File
@@ -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