From 21d35d4bcd68519917032913cd180bc0cdc25589 Mon Sep 17 00:00:00 2001 From: Benau Date: Sun, 8 Jan 2017 15:37:03 +0800 Subject: [PATCH] Display texture size instead of pointer location --- src/graphics/stk_tex_manager.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/graphics/stk_tex_manager.cpp b/src/graphics/stk_tex_manager.cpp index 13a9fb16c..5b73fca6f 100644 --- a/src/graphics/stk_tex_manager.cpp +++ b/src/graphics/stk_tex_manager.cpp @@ -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