mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-20 04:34:48 +00:00
Merge pull request #2086 from Azaezel/ProfileProblemPing
textureProfile conflict reporting
This commit is contained in:
commit
6ca8ca4d83
|
|
@ -254,6 +254,8 @@ GFXTextureObject *GFXTextureManager::_lookupTexture( const char *hashName, const
|
|||
//compare just the profile flags and not the entire profile, names could be different but otherwise identical flags
|
||||
if (ret && (ret->mProfile->compareFlags(*profile)))
|
||||
return ret;
|
||||
else if (ret)
|
||||
Con::warnf("GFXTextureManager::_lookupTexture: Cached texture %s has a different profile flag", hashName);
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue