aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/cursorman.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/graphics/cursorman.h b/graphics/cursorman.h
index d4ec940b60..36215d03e2 100644
--- a/graphics/cursorman.h
+++ b/graphics/cursorman.h
@@ -195,6 +195,9 @@ private:
uint _size;
+ // _format set to default by Graphics::PixelFormat default constructor
+ Cursor() : _data(0), _visible(false), _width(0), _height(0), _hotspotX(0), _hotspotY(0), _keycolor(0), _dontScale(false), _size(0) {}
+
Cursor(const void *data, uint w, uint h, int hotspotX, int hotspotY, uint32 keycolor, bool dontScale = false, const Graphics::PixelFormat *format = NULL);
~Cursor();
};