mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 19:53:48 +00:00
from@rextimmy: reports the same texture used with 2 conflicting textureProfiles (flipping back and forth causes duplicates)
This commit is contained in:
parent
a45a55ad6e
commit
ee14bb923e
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue