report which profile usages are conflicting (was,is)

This commit is contained in:
AzaezelX 2021-04-06 14:54:53 -05:00
parent b6a1acabf8
commit ab878eb312

View file

@ -271,7 +271,7 @@ GFXTextureObject *GFXTextureManager::_lookupTexture( const char *hashName, const
if (ret && (ret->mProfile->compareFlags(*profile)))
return ret;
else if (ret)
Con::warnf("GFXTextureManager::_lookupTexture: Cached texture %s has a different profile flag", hashName);
Con::warnf("GFXTextureManager::_lookupTexture: Cached texture %s has different profile flags: (%s,%s) ", hashName, ret->mProfile->getName().c_str(), profile->getName().c_str());
return NULL;
}