mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-25 04:28:29 +00:00
Renamed *FromInstanceID() to *FromID()
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user