aboutsummaryrefslogtreecommitdiff
path: root/backends/sdl
diff options
context:
space:
mode:
authorMax Horn2003-08-02 00:36:38 +0000
committerMax Horn2003-08-02 00:36:38 +0000
commit103112dd3da9e9b8ee0610d4cc6dc4a8320f2b98 (patch)
tree7d65f9b26a214f40647f330831f7a2f627bc26fc /backends/sdl
parent208a3925e90999e7bd28b53571e27e1b7a1a36cb (diff)
downloadscummvm-rg350-103112dd3da9e9b8ee0610d4cc6dc4a8320f2b98.tar.gz
scummvm-rg350-103112dd3da9e9b8ee0610d4cc6dc4a8320f2b98.tar.bz2
scummvm-rg350-103112dd3da9e9b8ee0610d4cc6dc4a8320f2b98.zip
removed OSystem::set_mouse_pos (I hope I didn't break any backends, but if I did it should be trivial to get them working again)
svn-id: r9391
Diffstat (limited to 'backends/sdl')
-rw-r--r--backends/sdl/sdl-common.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/backends/sdl/sdl-common.cpp b/backends/sdl/sdl-common.cpp
index 84d80f3ca8..0b94433384 100644
--- a/backends/sdl/sdl-common.cpp
+++ b/backends/sdl/sdl-common.cpp
@@ -708,6 +708,8 @@ bool OSystem_SDL_Common::poll_event(Event *event) {
if (_adjustAspectRatio)
event->mouse.y = aspect2Real(event->mouse.y);
+
+ set_mouse_pos(event->mouse.x, event->mouse.y);
return true;
case SDL_MOUSEBUTTONDOWN: