mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator
synced 2024-11-26 05:50:05 +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