SDL_GetSensors() follows the SDL_GetStringRule
This commit is contained in:
1 parent
4f8c348402
commit
856d598d6e
6 files changed
+10
-15
No files matched your search
+1
-2
@@ -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