diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-23 03:51:06 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-23 13:13:02 +0300 |
commit | 4ab2c210277be6cf16f86e2fcf4fa5a6c090b45e (patch) | |
tree | 3ccee6444e6c044e895d3bb70942f1547addb230 /src/resources | |
parent | 89106a96cd86042415d19f307a4ade5f1fae8b5d (diff) | |
download | manaverse-4ab2c210277be6cf16f86e2fcf4fa5a6c090b45e.tar.gz manaverse-4ab2c210277be6cf16f86e2fcf4fa5a6c090b45e.tar.bz2 manaverse-4ab2c210277be6cf16f86e2fcf4fa5a6c090b45e.tar.xz manaverse-4ab2c210277be6cf16f86e2fcf4fa5a6c090b45e.zip |
Add support for OpenGL debug extensions.
Diffstat (limited to 'src/resources')
-rw-r--r-- | src/resources/resourcemanager.cpp | 2 |
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()); |