summaryrefslogtreecommitdiff
path: root/src/resources/image.cpp
diff options
context:
space:
mode:
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,