SDL_GetHaptics() follows the SDL_GetStringRule

This commit is contained in:
Sam Lantinga
2024-07-18 17:08:30 -07:00
parent 9de8cb888a
commit b32c9615a7
7 changed files with 12 additions and 23 deletions

View File

@@ -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);
}