-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
SDL API renaming: SDL_render.h #6883
Comments
Do we want SDL_RenderDrawPoints (etc) to be SDL_DrawRenderPoints? That seems more consistent but also extremely redundant. Maybe just SDL_DrawPoints? Or SDL_RenderPoints might be better. I always thought SDL_RenderCopy was a weird name choice, doubly so with the extended version doing rotating and scaling, but if that sort of thing is out of scope for the basic renaming, we can talk about that elsewhere. |
I was going back and forth on this myself, but SDL_DrawRenderPoints seemed weird. I like SDL_RenderPoints though. Maybe this? I'm also still waffling on whether we want int versions of the APIs. If we don't, this is a good time to remove them.
|
That's good for me. I think we could maybe fold all the texture draws into a single function, too, but that can wait for later. |
(I'm just reopening things when there's a nitpick instead of starting a new issue.) Some of these are in SDL_system.h: extern DECLSPEC IDirect3DDevice9* SDLCALL SDL_RenderGetD3D9Device(SDL_Renderer * renderer);
extern DECLSPEC ID3D11Device* SDLCALL SDL_RenderGetD3D11Device(SDL_Renderer * renderer); |
Here are proposed name changes for functions in SDL_render.h, per discussion in #6569
@libsdl-org/a-team for discussion?
The text was updated successfully, but these errors were encountered: