From 7a6d3b4eef66da78440eefc79549d3a7effd607d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 14 May 2017 03:12:36 +0300 Subject: Add assert about non 32 bit images. --- src/resources/sdlimagehelper.cpp | 1 + 1 file changed, 1 insertion(+) 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) -- cgit v1.2.3-70-g09d2