summaryrefslogtreecommitdiff
path: root/src/resources/image.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-07-20 02:57:47 +0300
committerAndrei Karas <akaras@inbox.ru>2011-07-20 03:41:35 +0300
commite645959d2dc85ee6a50d9927df3d9f6e374c8317 (patch)
tree6e5c348a7c89c4c864bab299fc9989fc0b0a5791 /src/resources/image.h
parentca945c9bd62318109246443c6d43091885e817b1 (diff)
downloadplus-e645959d2dc85ee6a50d9927df3d9f6e374c8317.tar.gz
plus-e645959d2dc85ee6a50d9927df3d9f6e374c8317.tar.bz2
plus-e645959d2dc85ee6a50d9927df3d9f6e374c8317.tar.xz
plus-e645959d2dc85ee6a50d9927df3d9f6e374c8317.zip
Improve perfomance in creation SDL font surfaces.
Diffstat (limited to 'src/resources/image.h')
-rw-r--r--src/resources/image.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resources/image.h b/src/resources/image.h
index 718301f81..9ac2b163e 100644
--- a/src/resources/image.h
+++ b/src/resources/image.h
@@ -95,6 +95,8 @@ class Image : public Resource
static SDL_Surface* convertTo32Bit(SDL_Surface* tmpImage);
+ static Image *createTextSurface(SDL_Surface *tmpImage, float alpha);
+
/**
* Frees the resources created by SDL.
*/