Merge pull request #481 from Azaezel/alpha40/profileconflictreport

report which profile usages are conflicting (was,is)
This commit is contained in:
Jeff Hutchinson 2021-04-12 21:48:38 -04:00 committed by GitHub
commit c19bb29a16
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;
}