Rebuild SDL2 for Windows

changeset:   13787:a564e72e3b2d
This commit is contained in:
Cameron Gutman
2020-04-25 21:04:44 -07:00
parent fc841f572c
commit 43d79673e1
28 changed files with 635 additions and 419 deletions

View File

@@ -121,6 +121,19 @@ typedef enum
/* Function prototypes */
/**
* Locking for multi-threaded access to the sensor API
*
* If you are using the sensor API or handling events from multiple threads
* you should use these locking functions to protect access to the sensors.
*
* In particular, you are guaranteed that the sensor list won't change, so
* the API functions that take a sensor index will be valid, and sensor
* events will not be delivered.
*/
extern DECLSPEC void SDLCALL SDL_LockSensors(void);
extern DECLSPEC void SDLCALL SDL_UnlockSensors(void);
/**
* \brief Count the number of sensors attached to the system right now
*/