Browse Source

report which profile usages are conflicting (was,is)

AzaezelX 4 years ago
parent
commit
ab878eb312
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Engine/source/gfx/gfxTextureManager.cpp

+ 1 - 1
Engine/source/gfx/gfxTextureManager.cpp

@@ -271,7 +271,7 @@ GFXTextureObject *GFXTextureManager::_lookupTexture( const char *hashName, const
    if (ret && (ret->mProfile->compareFlags(*profile)))
    if (ret && (ret->mProfile->compareFlags(*profile)))
       return ret;
       return ret;
    else if (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;
    return NULL;
 }
 }