Browse Source

* Fix compilation on lesser tools

undefined
Jean-Yves Lamoureux Sam Hocevar <sam@hocevar.net> 11 years ago
parent
commit
171433e9de
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/platform/sdl/sdlinput.cpp

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

@@ -222,7 +222,7 @@ void SdlInputData::Tick(float seconds)
{
m_mousecapture = InputDeviceInternal::GetMouseCapture();
SDL_WM_GrabInput(m_mousecapture ? SDL_GRAB_ON : SDL_GRAB_OFF);
mouse = m_app/2;
mouse = m_app/2.0f;
SdlInputData::SetMousePos(mouse);
//SDL_ShowCursor(m_mousecapture ? SDL_DISABLE : SDL_ENABLE);
}


Loading…
Cancel
Save