aboutsummaryrefslogtreecommitdiff
path: root/backends/sdl/sdl-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'backends/sdl/sdl-common.h')
-rw-r--r--backends/sdl/sdl-common.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/backends/sdl/sdl-common.h b/backends/sdl/sdl-common.h
index 86ddf74068..26a058d2ee 100644
--- a/backends/sdl/sdl-common.h
+++ b/backends/sdl/sdl-common.h
@@ -153,14 +153,15 @@ protected:
struct MousePos {
int16 x, y, w, h;
+ MousePos() : x(0), y(0), w(0), h(0) {}
};
bool _mouseVisible;
bool _mouseDrawn;
byte *_mouseData;
byte *_mouseBackup;
- MousePos _mouse_cur_state;
- MousePos _mouse_old_state;
+ MousePos _mouseCurState;
+ MousePos _mouseOldState;
int16 _mouseHotspotX;
int16 _mouseHotspotY;