Merge pull request #2723 from Tilka/perf_map
VertexLoader: avoid empty lines in perf-$pid.map
This commit is contained in:
commit
761cb6a99a
|
@ -120,7 +120,7 @@ void VertexLoaderBase::AppendToString(std::string *dest) const
|
|||
i, m_VtxAttr.texCoord[i].Elements, posMode[tex_mode[i]], posFormats[m_VtxAttr.texCoord[i].Format]));
|
||||
}
|
||||
}
|
||||
dest->append(StringFromFormat(" - %i v\n", m_numLoadedVertices));
|
||||
dest->append(StringFromFormat(" - %i v", m_numLoadedVertices));
|
||||
}
|
||||
|
||||
// a hacky implementation to compare two vertex loaders
|
||||
|
|
|
@ -109,7 +109,8 @@ void AppendListToString(std::string *dest)
|
|||
dest->reserve(dest->size() + total_size);
|
||||
for (const entry& entry : entries)
|
||||
{
|
||||
dest->append(entry.text);
|
||||
*dest += entry.text;
|
||||
*dest += '\n';
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue