mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 00:24:40 +00:00
...and update the profiler strings
This commit is contained in:
parent
ae94fc4e46
commit
47950382f7
1 changed files with 2 additions and 2 deletions
|
|
@ -244,7 +244,7 @@ U32 convertUTF16toUTF8DoubleNULL( const UTF16 *unistring, UTF8 *outbuffer, U32
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
UTF16* createUTF16string( const UTF8* unistring)
|
UTF16* createUTF16string( const UTF8* unistring)
|
||||||
{
|
{
|
||||||
PROFILE_SCOPE(convertUTF8toUTF16_create);
|
PROFILE_SCOPE(createUTF16string);
|
||||||
|
|
||||||
// allocate plenty of memory.
|
// allocate plenty of memory.
|
||||||
U32 nCodepoints, len = dStrlen(unistring) + 1;
|
U32 nCodepoints, len = dStrlen(unistring) + 1;
|
||||||
|
|
@ -266,7 +266,7 @@ UTF16* createUTF16string( const UTF8* unistring)
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
UTF8* createUTF8string( const UTF16* unistring)
|
UTF8* createUTF8string( const UTF16* unistring)
|
||||||
{
|
{
|
||||||
PROFILE_SCOPE(convertUTF16toUTF8_create);
|
PROFILE_SCOPE(createUTF8string);
|
||||||
|
|
||||||
// allocate plenty of memory.
|
// allocate plenty of memory.
|
||||||
U32 nCodeunits, len = dStrlen(unistring) * 3 + 1;
|
U32 nCodeunits, len = dStrlen(unistring) * 3 + 1;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue