You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When scaling a window so the aspect ratio no longer matches the game's, getting the mouse coordinates does not work properly anymore because the letterbox width/height changes the position of the game window. SDL2 appears to be getting mouse position from the top left of the window itself instead of the renderer.
The text was updated successfully, but these errors were encountered:
When scaling a window so the aspect ratio no longer matches the game's, getting the mouse coordinates does not work properly anymore because the letterbox width/height changes the position of the game window. SDL2 appears to be getting mouse position from the top left of the window itself instead of the renderer.
The text was updated successfully, but these errors were encountered: