Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SDL: Store fake mouse warp event in virtual coordinates
Normally, notifyMousePosition converts real mouse events into the virtual coordinate system, but events only get sent through notifyMousePosition if they are real events from SDL since that method also decides if the real mouse is inside the content area or not. As such, these fake events need to be pre-converted to virtual coordinates or else the wrong values are sent through to the engine when a scaler or AR correction is in use.
- Loading branch information