diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-03-02 21:17:53 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-03-02 21:17:53 +0300 |
commit | bfa44d6b007ca2e3ffabafda5beadbf102a6efdc (patch) | |
tree | 8f5d51f3ac6486f42aa531032209a0dddcc6e45d /src/resources/image.cpp | |
parent | 181ecd0c3bf27b47487f973fb83b988fd6ceaecf (diff) | |
download | manaverse-bfa44d6b007ca2e3ffabafda5beadbf102a6efdc.tar.gz manaverse-bfa44d6b007ca2e3ffabafda5beadbf102a6efdc.tar.bz2 manaverse-bfa44d6b007ca2e3ffabafda5beadbf102a6efdc.tar.xz manaverse-bfa44d6b007ca2e3ffabafda5beadbf102a6efdc.zip |
Other fixes from Coverity checks.
Diffstat (limited to 'src/resources/image.cpp')
-rw-r--r-- | src/resources/image.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resources/image.cpp b/src/resources/image.cpp index 9524a64bd..407274459 100644 --- a/src/resources/image.cpp +++ b/src/resources/image.cpp @@ -49,6 +49,8 @@ Image::Image(SDL_Surface *const image, const bool hasAlphaChannel0, Resource(), #ifdef USE_OPENGL mGLImage(0), + mTexWidth(0), + mTexHeight(0), #endif mLoaded(false), mAlpha(1.0f), |