mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 15:14:35 +00:00
Convert dStrcmp to String::compare for more cases
This commit is contained in:
parent
c999baf7ed
commit
197a62f6ea
22 changed files with 45 additions and 45 deletions
|
|
@ -1060,7 +1060,7 @@ void GFXD3D11Shader::_getShaderConstants( ID3D11ShaderReflection *refTable,
|
|||
#ifdef TORQUE_DEBUG
|
||||
AssertFatal(constantBufferDesc.Type == D3D_CT_CBUFFER, "Only scalar cbuffers supported for now.");
|
||||
|
||||
if (dStrcmp(constantBufferDesc.Name, "$Globals") != 0 && dStrcmp(constantBufferDesc.Name, "$Params") != 0)
|
||||
if (String::compare(constantBufferDesc.Name, "$Globals") != 0 && String::compare(constantBufferDesc.Name, "$Params") != 0)
|
||||
AssertFatal(false, "Only $Global and $Params cbuffer supported for now.");
|
||||
#endif
|
||||
#ifdef D3D11_DEBUG_SPEW
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue