diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-12-27 22:43:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-12-27 23:15:06 +0300 |
commit | dba24b2e59eb739e73228dbcf707e943905a9e5a (patch) | |
tree | bdbcca13bb984a47fd4f1f41d0429244777e10e9 /src/resources/sdlimagehelper.h | |
parent | ef5ba77247a2860a201c4d9177c4f3479d53538a (diff) | |
download | plus-dba24b2e59eb739e73228dbcf707e943905a9e5a.tar.gz plus-dba24b2e59eb739e73228dbcf707e943905a9e5a.tar.bz2 plus-dba24b2e59eb739e73228dbcf707e943905a9e5a.tar.xz plus-dba24b2e59eb739e73228dbcf707e943905a9e5a.zip |
Fix text size if it was not power of two.
Diffstat (limited to 'src/resources/sdlimagehelper.h')
-rw-r--r-- | src/resources/sdlimagehelper.h | 1 |
1 files changed, 1 insertions, 0 deletions
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) |