VertexLoader: avoid empty lines in perf-$pid.map
This commit is contained in:
parent
c54534ee3b
commit
2559a6f25c
|
@ -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