scummvm/backends
Kalle Kietavainen ca2405ed05 SDL: Fix mouse clip to game area in HiDPI mode
The mouse position is set in window coordinates, but it's clipped to the
game area in drawable area coordinates. Previously, the scaling between
these two was not taken into account when calculating the right/bottom
edges of the game area. When the clipped mouse position was converted
back to window coordinates and rounded to the nearest integer, it could
end up on the edge of the game area, not inside of it. This leads to a
loop in which the clipped mouse position is outside of the game area and
needs to be clipped again.

This fixes bug #12646.
2022-02-16 22:15:43 +00:00
..
audiocd JANITORIAL: "Mac OS X" and "OS X" to "macOS" in comments 2022-01-29 14:15:05 +01:00
cloud ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
dialogs ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
events ANDROIDSDL: Remove deprecated port 2022-02-06 21:34:08 +01:00
fs JANITORIAL: "Mac OS X" and "OS X" to "macOS" in comments 2022-01-29 14:15:05 +01:00
graphics SDL: Fix mouse clip to game area in HiDPI mode 2022-02-16 22:15:43 +00:00
graphics3d ANDROID: Add GLAD support 2022-01-18 16:49:03 +01:00
keymapper ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
log ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
midi JANITORIAL: "Mac OS X" and "OS X" to "macOS" in comments 2022-01-29 14:15:05 +01:00
mixer ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
mutex ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
networking PS3: Implemented getting IP address for local web server 2022-02-06 21:20:49 +01:00
platform PS3: Enable networking also if only SDL_NET is enabled 2022-02-12 14:55:56 +01:00
plugins PSP: Fix build failures with latest PSP toolchain 2021-12-31 09:50:53 +01:00
presence/discord ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
saves JANITORIAL: "Mac OS X" and "OS X" to "macOS" in comments 2022-01-29 14:15:05 +01:00
taskbar ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
text-to-speech ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
timer ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
updates JANITORIAL: "Mac OS X" and "OS X" to "macOS" in comments 2022-01-29 14:15:05 +01:00
vkeybd ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
base-backend.cpp ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
base-backend.h ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
modular-backend.cpp ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
modular-backend.h ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
module.mk ANDROIDSDL: Remove deprecated port 2022-02-06 21:34:08 +01:00