diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-08-25 19:36:20 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-08-25 23:26:55 +0300 |
commit | d5847d54a527c41006cb4cade15d0b6346490e77 (patch) | |
tree | 5146fc48f6e2d10eb3f41f1b20eac16f66b36f28 /src/resources/surfaceimagehelper.cpp | |
parent | 5b20a3d95717f75d33801c4dd2b093e106d90541 (diff) | |
download | plus-d5847d54a527c41006cb4cade15d0b6346490e77.tar.gz plus-d5847d54a527c41006cb4cade15d0b6346490e77.tar.bz2 plus-d5847d54a527c41006cb4cade15d0b6346490e77.tar.xz plus-d5847d54a527c41006cb4cade15d0b6346490e77.zip |
add partial support for software mode with SDL2.
Diffstat (limited to 'src/resources/surfaceimagehelper.cpp')
-rw-r--r-- | src/resources/surfaceimagehelper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/surfaceimagehelper.cpp b/src/resources/surfaceimagehelper.cpp index 1b5997ce0..45a7d95fd 100644 --- a/src/resources/surfaceimagehelper.cpp +++ b/src/resources/surfaceimagehelper.cpp @@ -120,7 +120,7 @@ Image *SurfaceImageHelper::createTextSurface(SDL_Surface *const tmpImage, SDL_Surface *image = SDLDuplicateSurface(tmpImage); img = new Image(image, hasAlpha, alphaChannel); - img->mAlpha = alpha; + img->setAlpha(alpha); return img; } |