mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-07 02:39:56 +00:00

This hopefully fixes input positions in retina devices. The idea is stolen
from QT: 0726127285
:src/plugins/platforms/uikit/quikitwindow.mm#L261-296
Complicated way to retrieve scale's return value properly is taken from:
https://stackoverflow.com/questions/3130464 We sadly can't use the cleaner
solution since we don't want to require a newer SDK...