diff options
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/cursorman.cpp | 1 | ||||
-rw-r--r-- | graphics/decoders/png.cpp | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/graphics/cursorman.cpp b/graphics/cursorman.cpp index 6825767dfd..133ee5fd71 100644 --- a/graphics/cursorman.cpp +++ b/graphics/cursorman.cpp @@ -253,6 +253,7 @@ CursorManager::Cursor::Cursor(const void *data, uint w, uint h, int hotspotX, in _hotspotX = hotspotX; _hotspotY = hotspotY; _dontScale = dontScale; + _visible = false; } CursorManager::Cursor::~Cursor() { diff --git a/graphics/decoders/png.cpp b/graphics/decoders/png.cpp index 505475213f..5acb7b36f7 100644 --- a/graphics/decoders/png.cpp +++ b/graphics/decoders/png.cpp @@ -38,7 +38,7 @@ namespace Graphics { -PNGDecoder::PNGDecoder() : _outputSurface(0), _palette(0), _paletteColorCount(0) { +PNGDecoder::PNGDecoder() : _outputSurface(0), _palette(0), _paletteColorCount(0), _stream(0) { } PNGDecoder::~PNGDecoder() { |