summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-06-28 20:41:08 +0300
committerAndrei Karas <akaras@inbox.ru>2014-06-28 20:41:08 +0300
commitf984b61830dfd2fff0ca2a75ec9d9ab82e3801f4 (patch)
treeb53178fe4a87b95a15210fd87df6267d065ea4cc /src
parent272c3e45b5bd785aaed6823b9e2c9299a0da6825 (diff)
downloadmv-f984b61830dfd2fff0ca2a75ec9d9ab82e3801f4.tar.gz
mv-f984b61830dfd2fff0ca2a75ec9d9ab82e3801f4.tar.bz2
mv-f984b61830dfd2fff0ca2a75ec9d9ab82e3801f4.tar.xz
mv-f984b61830dfd2fff0ca2a75ec9d9ab82e3801f4.zip
Dont fail on missing images.
Diffstat (limited to 'src')
-rw-r--r--src/resources/openglimagehelper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/openglimagehelper.cpp b/src/resources/openglimagehelper.cpp
index 6877eea4e..d083b22b5 100644
--- a/src/resources/openglimagehelper.cpp
+++ b/src/resources/openglimagehelper.cpp
@@ -290,7 +290,7 @@ Image *OpenGLImageHelper::glLoad(SDL_Surface *tmpImage,
std::string errmsg = GraphicsManager::errorToString(error);
logger->log("Error: Image GL import failed: %s (%u)",
errmsg.c_str(), error);
- return nullptr;
+// return nullptr;
}
return new Image(texture, width, height, realWidth, realHeight);