diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-04-20 16:39:35 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-04-20 16:39:35 +0300 |
commit | 9753cdbb33468148e1f690d67cb631d661e62027 (patch) | |
tree | 96c073cc948e9d8483676171a2fe1cb274fed0a4 /src/resources/image.cpp | |
parent | ab9405f511303d490a8f966d1c1abe7f94bf0633 (diff) | |
download | plus-9753cdbb33468148e1f690d67cb631d661e62027.tar.gz plus-9753cdbb33468148e1f690d67cb631d661e62027.tar.bz2 plus-9753cdbb33468148e1f690d67cb631d661e62027.tar.xz plus-9753cdbb33468148e1f690d67cb631d661e62027.zip |
fix style in resources directory.
Diffstat (limited to 'src/resources/image.cpp')
-rw-r--r-- | src/resources/image.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/resources/image.cpp b/src/resources/image.cpp index 21c492845..88360c870 100644 --- a/src/resources/image.cpp +++ b/src/resources/image.cpp @@ -52,11 +52,13 @@ Image::Image(SDL_Surface *const image, const bool hasAlphaChannel0, mTexWidth(0), mTexHeight(0), #endif + mBounds(), mLoaded(false), mAlpha(1.0f), mHasAlphaChannel(hasAlphaChannel0), mSDLSurface(image), mAlphaChannel(alphaChannel), + mAlphaCache(), mUseAlphaCache(SDLImageHelper::mEnableAlphaCache), mIsAlphaVisible(hasAlphaChannel0), mIsAlphaCalculated(false) @@ -87,11 +89,13 @@ Image::Image(const GLuint glimage, const int width, const int height, mGLImage(glimage), mTexWidth(texWidth), mTexHeight(texHeight), + mBounds(), mLoaded(false), mAlpha(1.0f), mHasAlphaChannel(true), mSDLSurface(nullptr), mAlphaChannel(nullptr), + mAlphaCache(), mUseAlphaCache(false), mIsAlphaVisible(true), mIsAlphaCalculated(false) |