mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-08-04 14:38:33 +00:00
Added properties to various SDL objects
The following objects now have properties that can be user modified: * SDL_AudioStream * SDL_Gamepad * SDL_Joystick * SDL_RWops * SDL_Renderer * SDL_Sensor * SDL_Surface * SDL_Texture * SDL_Window
This commit is contained in:
@@ -83,8 +83,9 @@ struct SDL_Texture
|
||||
|
||||
Uint32 last_command_generation; /* last command queue generation this texture was in. */
|
||||
|
||||
SDL_PropertiesID props;
|
||||
|
||||
void *driverdata; /**< Driver specific texture representation */
|
||||
void *userdata;
|
||||
|
||||
SDL_Texture *prev;
|
||||
SDL_Texture *next;
|
||||
@@ -272,6 +273,8 @@ struct SDL_Renderer
|
||||
size_t vertex_data_used;
|
||||
size_t vertex_data_allocation;
|
||||
|
||||
SDL_PropertiesID props;
|
||||
|
||||
void *driverdata;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user