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

Add vsync support to the software renderer #4612

Closed
cooljeanius opened this issue Aug 9, 2021 · 2 comments
Closed

Add vsync support to the software renderer #4612

cooljeanius opened this issue Aug 9, 2021 · 2 comments
Assignees
Milestone

Comments

@cooljeanius
Copy link

Previously I had requested that the Wesnoth project use vsync in this downstream bug: wesnoth/wesnoth#5018
However, upon investigation, devs discovered that the reason why that's not possible is because apparently it's actually an upstream issue with SDL 2 here, in that the software renderer doesn't support vsync, which is apparently due to this line:

SDL_RENDERER_SOFTWARE | SDL_RENDERER_TARGETTEXTURE,

It would be nice if something in this area could be fixed here on SDL's end.

@cooljeanius
Copy link
Author

oh wow, thanks for the quick fix!

@slouken
Copy link
Collaborator

slouken commented Aug 10, 2021

You're welcome! :)

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

No branches or pull requests

2 participants