Display texture size instead of pointer location

This commit is contained in:
Benau 2017-01-08 15:37:03 +08:00
parent 00437e6d15
commit 21d35d4bcd

View File

@ -136,7 +136,8 @@ void STKTexManager::dumpAllTexture(bool mesh_texture)
{
if (!p.second || (mesh_texture && !p.second->isMeshTexture()))
continue;
Log::info("STKTexManager", "%s loc: %p", p.first.c_str(), p.second);
Log::info("STKTexManager", "%s size: %dK", p.first.c_str(),
p.second->getTextureSize());
}
} // dumpAllTexture