Fixed mouse input not processed, fixed PC compilation

Conflicts:
	src/video/sdl_v.cpp
This commit is contained in:
pelya
2015-03-29 22:54:44 +03:00
parent 400065fa43
commit a0bcc2ae25
2 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -564,7 +564,7 @@ int VideoDriver_SDL::PollEvent()
switch (ev.type) {
case SDL_MOUSEMOTION:
if (_cursor.UpdateCursorPosition(ev.motion.x, ev.motion.y, true)) {
#ifndef __ANDROID__
#ifndef __ANDROID__ // No mouse warping on Android, mouse strictly follows finger
SDL_CALL SDL_WarpMouse(_cursor.pos.x, _cursor.pos.y);
#endif
}