Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| a3fa504bee |
@@ -525,9 +525,7 @@ bool VideoDriver_SDL::PollEvent()
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (_cursor.UpdateCursorPosition(x, y)) {
|
if (_cursor.UpdateCursorPosition(x, y)) {
|
||||||
#ifndef __ANDROID__ // No mouse warping on Android, mouse strictly follows finger
|
|
||||||
SDL_WarpMouse(_cursor.pos.x, _cursor.pos.y);
|
SDL_WarpMouse(_cursor.pos.x, _cursor.pos.y);
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
HandleMouseEvents();
|
HandleMouseEvents();
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user