mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-18 10:48:28 +00:00
Added SDL_SetTextureUserData() and SDL_GetTextureUserData() to associate a user-specified pointer with an SDL texture
This commit is contained in:
parent
a0af7ce731
commit
f5794f9eeb
7 changed files with 46 additions and 2 deletions
|
@ -58,6 +58,7 @@ struct SDL_Texture
|
|||
Uint32 last_command_generation; /* last command queue generation this texture was in. */
|
||||
|
||||
void *driverdata; /**< Driver specific texture representation */
|
||||
void *userdata;
|
||||
|
||||
SDL_Texture *prev;
|
||||
SDL_Texture *next;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue