Skip to content

Conversation

coat
Copy link
Contributor

@coat coat commented Apr 5, 2025

I discovered that specifying a src and/or dst Rect to renderTexture made it stop rendering at all for me, and noticed certain render functions in SDL3 now support subpixel resolution and expect FRects and FPoints instead of integer Rects and Points in SDL2. I did a quick pass and I think the rest of the render related functions are correct (with some missing which I'll add in another PR)

Certain render methods in SDL3 support subpixel resolution and expect
FRects and FPoints instead of integer Rects and Points in SDL2.

https://wiki.libsdl.org/SDL3/SDL_RenderTexture
@hazeycode hazeycode merged commit 41efa4c into zig-gamedev:main Apr 7, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants