Browse Source

report which profile usages are conflicting (was,is)

AzaezelX 4 năm trước cách đây
mục cha
commit
ab878eb312
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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)))
       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;
 }