Skip to content
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

Support for FP render functions #1273

Open
xsbee opened this issue Nov 25, 2022 · 1 comment · May be fixed by #1355
Open

Support for FP render functions #1273

xsbee opened this issue Nov 25, 2022 · 1 comment · May be fixed by #1355

Comments

@xsbee
Copy link

xsbee commented Nov 25, 2022

SDL2, as of now, has documented functions for rendering at floating-point coordinates. Integer coordinates can be quite troublesome at times and often is not desirable.

It surfaced in a commit of 2018 and was undocumented for a long time according to this. However the changelogs apprarently seem to record it. As none usually talks about it, it slipped through notice easily.

It is so useful that, in fact I had to use unsafe FFI in my program to use this interface.

https://github.com/xsbee/rvsp/blob/d1f8ea3091fadd45e8e3b8237db842545c51fdb2/src/main.rs#L159-L162

So kindly consider adding this inteface. Thank you.

@Cobrand
Copy link
Member

Cobrand commented Nov 25, 2022

Sure, PRs are welcome!

@chqoot-vgxu chqoot-vgxu linked a pull request Dec 16, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants