mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 08:34:40 +00:00
Fixes some minor errors on MacOS regarding compiling in clang
This commit is contained in:
parent
64c9667bad
commit
c5cdba750e
3 changed files with 4 additions and 4 deletions
|
|
@ -41,7 +41,7 @@
|
||||||
#include "assets/assetPtr.h"
|
#include "assets/assetPtr.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "T3D\assets\assetImporter.h"
|
#include "T3D/assets/assetImporter.h"
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -900,14 +900,14 @@ GBitmap *GFXTextureManager::loadUncompressedTexture(const Torque::Path &path, GF
|
||||||
|
|
||||||
if (inBitmap == NULL)
|
if (inBitmap == NULL)
|
||||||
{
|
{
|
||||||
Con::warnf("GFXTextureManager::loadUncompressedTexture unable to load texture: %s", path.getFullPath());
|
Con::warnf("GFXTextureManager::loadUncompressedTexture unable to load texture: %s", path.getFullPath().c_str());
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set the format so we don't have to handle which channels are where.
|
// Set the format so we don't have to handle which channels are where.
|
||||||
if (!inBitmap->setFormat(GFXFormatR8G8B8A8))
|
if (!inBitmap->setFormat(GFXFormatR8G8B8A8))
|
||||||
{
|
{
|
||||||
Con::warnf("GFXTextureManager::loadUncompressedTexture unable to handle texture format: %s", path.getFullPath());
|
Con::warnf("GFXTextureManager::loadUncompressedTexture unable to handle texture format: %s", path.getFullPath().c_str());
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -144,7 +144,7 @@ GuiTextEditCtrl::GuiTextEditCtrl()
|
||||||
mPlaceholderText = StringTable->EmptyString();
|
mPlaceholderText = StringTable->EmptyString();
|
||||||
|
|
||||||
#if defined(__MACOSX__)
|
#if defined(__MACOSX__)
|
||||||
UTF8 bullet[4] = { 0xE2, 0x80, 0xA2, 0 };
|
UTF8 bullet[4] = { UTF8(0xE2), UTF8(0x80), UTF8(0xA2), 0 };
|
||||||
|
|
||||||
mPasswordMask = StringTable->insert( bullet );
|
mPasswordMask = StringTable->insert( bullet );
|
||||||
#else
|
#else
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue