mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-06 16:04:08 +02:00
render: Renamed SDL_GetTextureRenderer to SDL_GetRendererFromTexture.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user