summaryrefslogtreecommitdiff
path: root/src/resources/image.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-03-02 21:17:53 +0300
committerAndrei Karas <akaras@inbox.ru>2013-03-02 21:17:53 +0300
commitbfa44d6b007ca2e3ffabafda5beadbf102a6efdc (patch)
tree8f5d51f3ac6486f42aa531032209a0dddcc6e45d /src/resources/image.cpp
parent181ecd0c3bf27b47487f973fb83b988fd6ceaecf (diff)
downloadManaVerse-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.cpp2
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),