From 4ab2c210277be6cf16f86e2fcf4fa5a6c090b45e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 23 Oct 2012 03:51:06 +0300 Subject: Add support for OpenGL debug extensions. --- src/resources/resourcemanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/resources/resourcemanager.cpp') 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()); -- cgit v1.2.3-70-g09d2