mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 06:34:35 +00:00
SDL_GetSensors() follows the SDL_GetStringRule
This commit is contained in:
parent
4f8c348402
commit
856d598d6e
6 changed files with 10 additions and 15 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue