mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-04-04 16:16:03 +02:00
The drawing uses the origin of the viewport as the coordinate origin, so we only need to clip against the size of the viewport. Also added a unit test to catch this case in the future