summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-14 03:12:36 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-14 03:12:36 +0300
commit7a6d3b4eef66da78440eefc79549d3a7effd607d (patch)
tree6648d64d25e893b08507f49b1be23ebd8b9ffba3 /src
parent25e13cf1c070e9b6b68f6f985df88494003805af (diff)
downloadplus-7a6d3b4eef66da78440eefc79549d3a7effd607d.tar.gz
plus-7a6d3b4eef66da78440eefc79549d3a7effd607d.tar.bz2
plus-7a6d3b4eef66da78440eefc79549d3a7effd607d.tar.xz
plus-7a6d3b4eef66da78440eefc79549d3a7effd607d.zip
Add assert about non 32 bit images.
Diffstat (limited to 'src')
-rw-r--r--src/resources/sdlimagehelper.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/resources/sdlimagehelper.cpp b/src/resources/sdlimagehelper.cpp
index 0201b2ebc..332a3f034 100644
--- a/src/resources/sdlimagehelper.cpp
+++ b/src/resources/sdlimagehelper.cpp
@@ -202,6 +202,7 @@ Image *SDLImageHelper::_SDLload(SDL_Surface *tmpImage)
if (tmpImage->format->BitsPerPixel != 32)
{
+ reportAlways("Non 32 bit image detected");
tmpImage = convertTo32Bit(tmpImage);
if (!tmpImage)