summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources')
-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 73965e19..d2a1c82e 100644
--- a/src/resources/image.cpp
+++ b/src/resources/image.cpp
@@ -36,8 +36,8 @@ int Image::mTextureSize = 0;
Image::Image(SDL_Surface *image, bool hasAlphaChannel, Uint8 *alphaChannel):
mAlpha(1.0f),
- mSDLSurface(image),
mHasAlphaChannel(hasAlphaChannel),
+ mSDLSurface(image),
mAlphaChannel(alphaChannel)
{
#ifdef USE_OPENGL