summaryrefslogtreecommitdiff
path: root/src/resources/resourcemanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-23 03:51:06 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-23 13:13:02 +0300
commit4ab2c210277be6cf16f86e2fcf4fa5a6c090b45e (patch)
tree3ccee6444e6c044e895d3bb70942f1547addb230 /src/resources/resourcemanager.cpp
parent89106a96cd86042415d19f307a4ade5f1fae8b5d (diff)
downloadplus-4ab2c210277be6cf16f86e2fcf4fa5a6c090b45e.tar.gz
plus-4ab2c210277be6cf16f86e2fcf4fa5a6c090b45e.tar.bz2
plus-4ab2c210277be6cf16f86e2fcf4fa5a6c090b45e.tar.xz
plus-4ab2c210277be6cf16f86e2fcf4fa5a6c090b45e.zip
Add support for OpenGL debug extensions.
Diffstat (limited to 'src/resources/resourcemanager.cpp')
-rw-r--r--src/resources/resourcemanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/resourcemanager.cpp b/src/resources/resourcemanager.cpp
index 3c5e35738..5bd4db3e4 100644
--- a/src/resources/resourcemanager.cpp
+++ b/src/resources/resourcemanager.cpp
@@ -239,7 +239,7 @@ void ResourceManager::logResource(const Resource *const res)
const int count = image->getRefCount();
if (count)
src += " " + toString(count);
- if (image && image->getGLImage())
+ if (image)
{
logger->log("resource(%s, %u) %s", res->mIdPath.c_str(),
image->getGLImage(), src.c_str());