mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-17 18:28:28 +00:00
Renamed *FromInstanceID() to *FromID()
This commit is contained in:
parent
cad9e6ea20
commit
d154b37b41
29 changed files with 62 additions and 62 deletions
|
@ -37,7 +37,7 @@ static const char *GetSensorTypeString(SDL_SensorType type)
|
|||
|
||||
static void HandleSensorEvent(SDL_SensorEvent *event)
|
||||
{
|
||||
SDL_Sensor *sensor = SDL_GetSensorFromInstanceID(event->which);
|
||||
SDL_Sensor *sensor = SDL_GetSensorFromID(event->which);
|
||||
if (!sensor) {
|
||||
SDL_Log("Couldn't get sensor for sensor event\n");
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue