mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-03-20 15:51:07 +01:00
SDL_GetHaptics() follows the SDL_GetStringRule
This commit is contained in:
@@ -91,7 +91,7 @@ int main(int argc, char *argv[])
|
||||
|
||||
if (enable_haptic) {
|
||||
int num_haptics;
|
||||
SDL_free(SDL_GetHaptics(&num_haptics));
|
||||
SDL_GetHaptics(&num_haptics);
|
||||
SDL_Log("There are %d haptic devices at startup\n", num_haptics);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user