Enable texture wrapping for SDL_RenderGeometry()

Currently wrapping is based on whether texture coordinates are outside of [0,1], but the code is structured so it's easy to add an API to set it and add additional wrapping modes if we want.

Fixes https://github.com/libsdl-org/SDL/issues/9238
Closes https://github.com/libsdl-org/SDL/pull/5369
This commit is contained in:
Sam Lantinga committed 2024-07-20 09:51:05 -07:00
1 parent 6a74ade73d
commit 03bb2c17ed
15 files changed
+1198 -418

No files matched your search

File diff suppressed because it is too large. Load diff