mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-16 17:58:27 +00:00
render: Renamed SDL_GetTextureRenderer to SDL_GetRendererFromTexture.
This commit is contained in:
parent
95066ce2a0
commit
82f2c4d581
5 changed files with 5 additions and 5 deletions
|
@ -1396,7 +1396,7 @@ SDL_Texture *SDL_CreateTextureFromSurface(SDL_Renderer *renderer, SDL_Surface *s
|
|||
return texture;
|
||||
}
|
||||
|
||||
SDL_Renderer *SDL_GetTextureRenderer(SDL_Texture *texture)
|
||||
SDL_Renderer *SDL_GetRendererFromTexture(SDL_Texture *texture)
|
||||
{
|
||||
CHECK_TEXTURE_MAGIC(texture, NULL);
|
||||
return texture->renderer;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue