mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator
synced 2024-11-05 04:10:06 +00:00
VmaJsonWriter::ContinueString: Fixed bug with incorrect JSON generated when pUserData string contains '\' character.
This commit is contained in:
parent
e44c62684d
commit
3d99a1ca66
@ -5103,7 +5103,7 @@ void VmaJsonWriter::ContinueString(const char* pStr)
|
||||
for(size_t i = 0; i < strLen; ++i)
|
||||
{
|
||||
char ch = pStr[i];
|
||||
if(ch == '\'')
|
||||
if(ch == '\\')
|
||||
{
|
||||
m_SB.Add("\\\\");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user