summaryrefslogtreecommitdiff
path: root/src/resources/image.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-06-11 02:53:26 +0300
committerAndrei Karas <akaras@inbox.ru>2012-06-11 16:22:20 +0300
commitdcba44a20e622ec38d536fb03c0c8404e9399f80 (patch)
treed0271d9a11e1117eb9a3138063710c6db73154cc /src/resources/image.cpp
parent78d804ba1751134120caca22f0cf5abcfd11f29d (diff)
downloadplus-dcba44a20e622ec38d536fb03c0c8404e9399f80.tar.gz
plus-dcba44a20e622ec38d536fb03c0c8404e9399f80.tar.bz2
plus-dcba44a20e622ec38d536fb03c0c8404e9399f80.tar.xz
plus-dcba44a20e622ec38d536fb03c0c8404e9399f80.zip
Fix code style.
Diffstat (limited to 'src/resources/image.cpp')
-rw-r--r--src/resources/image.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/image.cpp b/src/resources/image.cpp
index b060be6f4..3c5a2a97e 100644
--- a/src/resources/image.cpp
+++ b/src/resources/image.cpp
@@ -241,7 +241,7 @@ void Image::setAlpha(float alpha)
mAlpha = alpha;
- if (!hasAlphaChannel())
+ if (!mHasAlphaChannel)
{
// Set the alpha value this image is drawn at
SDL_SetAlpha(mSDLSurface, SDL_SRCALPHA,