Skip to content

add bindings for renderCopyExF, FRect, FPoint #228

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 23, 2021

Conversation

nxths
Copy link
Contributor

@nxths nxths commented Feb 25, 2021

The SDL_RenderCopyExF() function is undocumented but needed to draw textures at floating point coordinates, this is useful to avoid rounding issues when rendering. It was added in libsdl-org/SDL@8340b0f (Oct 22, 2018) and the interface seems to have been stable since?

Tested this out manually on Windows 10 (64-bit), Arch Linux (x86-64), and macOS 10.13.6.

@nxths
Copy link
Contributor Author

nxths commented Feb 25, 2021

Hmm it looks like the Travis CI build is using SDL 2.0.6, but this branch requires SDL 2.0.10 or later.

@dpwiz
Copy link
Member

dpwiz commented Dec 23, 2021

Please rebase the PR. The new CI should have fresh SDL.

@nxths
Copy link
Contributor Author

nxths commented Dec 23, 2021

Please rebase the PR. The new CI should have fresh SDL.

Thanks, the CI checks look good now. Also tested this locally with https://github.com/incoherentsoftware/defect-process which uses the branch and it seems fine.

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