diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-05-14 03:12:36 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-05-14 03:12:36 +0300 |
commit | 7a6d3b4eef66da78440eefc79549d3a7effd607d (patch) | |
tree | 6648d64d25e893b08507f49b1be23ebd8b9ffba3 /src | |
parent | 25e13cf1c070e9b6b68f6f985df88494003805af (diff) | |
download | mv-7a6d3b4eef66da78440eefc79549d3a7effd607d.tar.gz mv-7a6d3b4eef66da78440eefc79549d3a7effd607d.tar.bz2 mv-7a6d3b4eef66da78440eefc79549d3a7effd607d.tar.xz mv-7a6d3b4eef66da78440eefc79549d3a7effd607d.zip |
Add assert about non 32 bit images.
Diffstat (limited to 'src')
-rw-r--r-- | src/resources/sdlimagehelper.cpp | 1 |
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) |