diff options
Diffstat (limited to 'backends/events/sdl/sdl-events.cpp')
-rw-r--r-- | backends/events/sdl/sdl-events.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/backends/events/sdl/sdl-events.cpp b/backends/events/sdl/sdl-events.cpp index 2c6fe85232..db4aa21ef1 100644 --- a/backends/events/sdl/sdl-events.cpp +++ b/backends/events/sdl/sdl-events.cpp @@ -174,8 +174,7 @@ void SdlEventSource::processMouseEvent(Common::Event &event, int x, int y) { event.mouse.y = y; if (_graphicsManager) { - _graphicsManager->notifyMousePos(Common::Point(x, y)); - _graphicsManager->transformMouseCoordinates(event.mouse); + _graphicsManager->notifyMousePosition(event.mouse); } } |