mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-16 00:54:54 +00:00
Fix: Some compilers do not auto-cast String and Path classes to (char *).
This commit is contained in:
parent
e6673eaf30
commit
9f2d44966e
2 changed files with 2 additions and 2 deletions
|
|
@ -587,7 +587,7 @@ bool PlayerData::preload(bool server, String &errorStr)
|
||||||
|
|
||||||
if (!fileRef)
|
if (!fileRef)
|
||||||
{
|
{
|
||||||
errorStr = String::ToString("PlayerData: Mounted image %d loading failed, shape \"%s\" is not found.",i,mShapeFP[i].getPath());
|
errorStr = String::ToString("PlayerData: Mounted image %d loading failed, shape \"%s\" is not found.",i,mShapeFP[i].getPath().getFullPath().c_str());
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -444,7 +444,7 @@ const String GFXD3D9ShaderConstBuffer::describeSelf() const
|
||||||
GenericConstBufferLayout::ParamDesc pd;
|
GenericConstBufferLayout::ParamDesc pd;
|
||||||
mVertexConstBufferLayoutF->getDesc(i, pd);
|
mVertexConstBufferLayoutF->getDesc(i, pd);
|
||||||
|
|
||||||
ret += String::ToString(" Constant name: %s", pd.name);
|
ret += String::ToString(" Constant name: %s", pd.name.c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue