From 9753cdbb33468148e1f690d67cb631d661e62027 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 20 Apr 2013 16:39:35 +0300 Subject: fix style in resources directory. --- src/resources/image.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/resources/image.cpp') 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) -- cgit v1.2.3-60-g2f50