Browse Source

input: fix uninitialised data in the SDL mouse input.

undefined
Sam Hocevar 11 years ago
parent
commit
349559acd9
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/platform/sdl/sdlinput.cpp

+ 2
- 1
src/platform/sdl/sdlinput.cpp View File

@@ -52,7 +52,8 @@ private:
m_app_w((float)app_w),
m_app_h((float)app_h),
m_screen_w((float)screen_w),
m_screen_h((float)screen_h)
m_screen_h((float)screen_h),
m_mousecapture(false)
{ }

Array<SDL_Joystick*, InputDeviceInternal*> m_joysticks;


Loading…
Cancel
Save