-
Notifications
You must be signed in to change notification settings - Fork 16
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
Update sdlrender.inc to 2.0.22 #48
Update sdlrender.inc to 2.0.22 #48
Conversation
Thanks for this work!
I agree we shouldn't omit these, we don't know if in the future there will be support or someone may need these for whatever reason we can't think of. This can be a task for a later update. Maybe we create an issue about this. Some ideas to the PR:
Line 39+
According to out style guide it should be like: C:
Pascal:
Hint 1: C enums start at 0 if no explicit value is set. What do you think? Best regards |
Changed enumeration types to type aliases and added the Metal functions. |
Thanks, excellent work! |
This patch adds missing type and function definitions, updating
sdlrenderer.inc
to SDL 2.0.22. Solves issue #47.This patch omits the
SDL_RenderGetMetalLayer()
andSDL_RenderGetMetalCommandEncoder()
functions. FPC doesn't have units for working with Metal, so these will be of very limited use to anyone. We may still do it for completeness sake, though.