summaryrefslogtreecommitdiff
path: root/src/resources/imagehelper.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-12-27 22:43:59 +0300
committerAndrei Karas <akaras@inbox.ru>2012-12-27 23:15:06 +0300
commitdba24b2e59eb739e73228dbcf707e943905a9e5a (patch)
treebdbcca13bb984a47fd4f1f41d0429244777e10e9 /src/resources/imagehelper.h
parentef5ba77247a2860a201c4d9177c4f3479d53538a (diff)
downloadplus-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/imagehelper.h')
-rw-r--r--src/resources/imagehelper.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/resources/imagehelper.h b/src/resources/imagehelper.h
index 83fc3e03c..39e088aa5 100644
--- a/src/resources/imagehelper.h
+++ b/src/resources/imagehelper.h
@@ -67,6 +67,7 @@ class ImageHelper
virtual Image *load(SDL_Surface *) A_WARN_UNUSED = 0;
virtual Image *createTextSurface(SDL_Surface *tmpImage,
+ int width, int height,
float alpha) A_WARN_UNUSED = 0;
virtual int useOpenGL() A_WARN_UNUSED = 0;