Added SDL_SetTextureUserData() and SDL_GetTextureUserData() to associate a user-specified pointer with an SDL texture
This commit is contained in:
1 parent
a0af7ce731
commit
f5794f9eeb
7 files changed
+46
-2
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user