Format string fix

This commit is contained in:
Henrik Rydgård committed 2023-05-24 15:52:39 +02:00
1 parent 11793fb83c
commit 12106ceb75
1 file changed
+1 -1
+1 -1
View File
@@ -284,5 +284,5 @@ void GLPushBuffer::UnmapDevice() {
}
void GLPushBuffer::GetDebugString(char *buffer, size_t bufSize) const {
snprintf(buffer, bufSize, "%s: %d/%d", tag_, NiceSizeFormat(this->offset_).c_str(), NiceSizeFormat(this->size_).c_str());
snprintf(buffer, bufSize, "%s: %s/%s", tag_, NiceSizeFormat(this->offset_).c_str(), NiceSizeFormat(this->size_).c_str());
}