From f5ed6062017598fbdf9c3a7e4c53b5eeeddfe3ad Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 30 Sep 2012 20:07:15 +0300 Subject: Improve debuging resource allocation. --- src/resources/resourcemanager.cpp | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'src/resources/resourcemanager.cpp') diff --git a/src/resources/resourcemanager.cpp b/src/resources/resourcemanager.cpp index e479a9609..71b5e9a1d 100644 --- a/src/resources/resourcemanager.cpp +++ b/src/resources/resourcemanager.cpp @@ -241,23 +241,20 @@ void ResourceManager::logResource(const Resource *const res) src += " " + toString(count); if (image && image->getGLImage()) { - logger->log("ResourceManager::release(%s, %u) %s", - res->mIdPath.c_str(), image->getGLImage(), - src.c_str()); + logger->log("resource(%s, %u) %s", res->mIdPath.c_str(), + image->getGLImage(), src.c_str()); } else { - logger->log("ResourceManager::release(%s) %s", - res->mIdPath.c_str(), src.c_str()); + logger->log("resource(%s) %s", res->mIdPath.c_str(), src.c_str()); } } else { - logger->log("ResourceManager::release(%s)", - res->mIdPath.c_str()); + logger->log("resource(%s)", res->mIdPath.c_str()); } #else - logger->log("ResourceManager::release(%s)", res->mIdPath.c_str()); + logger->log("resource(%s)", res->mIdPath.c_str()); #endif } -- cgit v1.2.3-70-g09d2