diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-07-20 02:57:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-07-20 03:41:35 +0300 |
commit | e645959d2dc85ee6a50d9927df3d9f6e374c8317 (patch) | |
tree | 6e5c348a7c89c4c864bab299fc9989fc0b0a5791 /src/resources/image.h | |
parent | ca945c9bd62318109246443c6d43091885e817b1 (diff) | |
download | manaverse-e645959d2dc85ee6a50d9927df3d9f6e374c8317.tar.gz manaverse-e645959d2dc85ee6a50d9927df3d9f6e374c8317.tar.bz2 manaverse-e645959d2dc85ee6a50d9927df3d9f6e374c8317.tar.xz manaverse-e645959d2dc85ee6a50d9927df3d9f6e374c8317.zip |
Improve perfomance in creation SDL font surfaces.
Diffstat (limited to 'src/resources/image.h')
-rw-r--r-- | src/resources/image.h | 2 |
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. */ |