diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-06-28 20:41:08 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-06-28 20:41:08 +0300 |
commit | f984b61830dfd2fff0ca2a75ec9d9ab82e3801f4 (patch) | |
tree | b53178fe4a87b95a15210fd87df6267d065ea4cc /src | |
parent | 272c3e45b5bd785aaed6823b9e2c9299a0da6825 (diff) | |
download | plus-f984b61830dfd2fff0ca2a75ec9d9ab82e3801f4.tar.gz plus-f984b61830dfd2fff0ca2a75ec9d9ab82e3801f4.tar.bz2 plus-f984b61830dfd2fff0ca2a75ec9d9ab82e3801f4.tar.xz plus-f984b61830dfd2fff0ca2a75ec9d9ab82e3801f4.zip |
Dont fail on missing images.
Diffstat (limited to 'src')
-rw-r--r-- | src/resources/openglimagehelper.cpp | 2 |
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); |