mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-04-28 18:24:22 +00:00
SDL_GetSensors() follows the SDL_GetStringRule
This commit is contained in:
@@ -58,7 +58,7 @@ static void HandleSensorEvent(SDL_SensorEvent *event)
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
SDL_SensorID *sensors;
|
||||
const SDL_SensorID *sensors;
|
||||
int i, num_sensors, num_opened;
|
||||
SDLTest_CommonState *state;
|
||||
|
||||
@@ -104,7 +104,6 @@ int main(int argc, char **argv)
|
||||
}
|
||||
}
|
||||
}
|
||||
SDL_free(sensors);
|
||||
}
|
||||
SDL_Log("Opened %d sensors\n", num_opened);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user