summaryrefslogtreecommitdiff
path: root/src/resources/resourcemanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-09-30 20:07:15 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-30 20:07:15 +0300
commitf5ed6062017598fbdf9c3a7e4c53b5eeeddfe3ad (patch)
tree4fb1bd61cc2ea8013cddc2e8da17fc7fe1057c7a /src/resources/resourcemanager.cpp
parent8b984259c0d7d7af5394defc89a3b64d7b479425 (diff)
downloadmanaplus-f5ed6062017598fbdf9c3a7e4c53b5eeeddfe3ad.tar.gz
manaplus-f5ed6062017598fbdf9c3a7e4c53b5eeeddfe3ad.tar.bz2
manaplus-f5ed6062017598fbdf9c3a7e4c53b5eeeddfe3ad.tar.xz
manaplus-f5ed6062017598fbdf9c3a7e4c53b5eeeddfe3ad.zip
Improve debuging resource allocation.
Diffstat (limited to 'src/resources/resourcemanager.cpp')
-rw-r--r--src/resources/resourcemanager.cpp13
1 files changed, 5 insertions, 8 deletions
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
}