Fix StringUtils::ConvertANSI2UTF16 to properly handle multi-byte characters Length
#1225
This commit is contained in:
@@ -145,7 +145,7 @@ bool GPUShader::Create(MemoryReadStream& stream)
|
||||
|
||||
// Create CB
|
||||
#if GPU_ENABLE_RESOURCE_NAMING
|
||||
String name = ToString() + TEXT(".CB") + i;
|
||||
String name = String::Format(TEXT("{}.CB{}"), ToString(), i);
|
||||
#else
|
||||
String name;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user