From dba24b2e59eb739e73228dbcf707e943905a9e5a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 27 Dec 2012 22:43:59 +0300 Subject: Fix text size if it was not power of two. --- src/resources/sdlimagehelper.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/resources/sdlimagehelper.h') diff --git a/src/resources/sdlimagehelper.h b/src/resources/sdlimagehelper.h index a0e19ca39..b37afaf2d 100644 --- a/src/resources/sdlimagehelper.h +++ b/src/resources/sdlimagehelper.h @@ -65,6 +65,7 @@ class SDLImageHelper final : public ImageHelper Image *load(SDL_Surface *const tmpImage) A_WARN_UNUSED; Image *createTextSurface(SDL_Surface *const tmpImage, + int width, int height, const float alpha) A_WARN_UNUSED; static void SDLSetEnableAlphaCache(const bool n) -- cgit v1.2.3-70-g09d2