diff options
Diffstat (limited to 'backends/sdl/sdl-common.cpp')
| -rw-r--r-- | backends/sdl/sdl-common.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/backends/sdl/sdl-common.cpp b/backends/sdl/sdl-common.cpp index ee28922e7e..71ba2d07fc 100644 --- a/backends/sdl/sdl-common.cpp +++ b/backends/sdl/sdl-common.cpp @@ -564,13 +564,6 @@ void OSystem_SDL_Common::fillMouseEvent(Event &event, int x, int y) { event.mouse.x = x; event.mouse.y = y; - // FIXME: HACK HACK HACK. This works around an odd problem in the OpenGL - // variant of the SDL backend, where the mouse y coordinates are reversed. - // Since the OpenGL variants is quite hackish anyway, we have to hard code - // here a screen height of 480). - if (_mode_flags & DF_REVERSE_Y) - event.mouse.y = 480 - event.mouse.y; - // Update the "keyboard mouse" coords km.x = event.mouse.x; km.y = event.mouse.y; |
