Renamed *FromInstanceID() to *FromID()

This commit is contained in:
Sam Lantinga 2024-07-14 12:06:35 -07:00
parent cad9e6ea20
commit d154b37b41
29 changed files with 62 additions and 62 deletions

View file

@ -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;