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

Refactor SDL2 renderer to use SDL_RenderGeometry. #104

Closed
HexDecimal opened this issue Dec 14, 2021 · 0 comments
Closed

Refactor SDL2 renderer to use SDL_RenderGeometry. #104

HexDecimal opened this issue Dec 14, 2021 · 0 comments

Comments

@HexDecimal
Copy link
Collaborator

SDL 2.0.18 includes a new API which allows for batched rendering. This can be used to make the SDL2 renderer run about as fast as the OpenGL renderers.

I'd like to support this function without making SDL 2.0.18 an actual requirement for Linux systems. By putting the new code in an SDL_VERSION_ATLEAST(2, 0, 18) branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant