SDL_GetHaptics() follows the SDL_GetStringRule

This commit is contained in:
Sam Lantinga committed 2024-07-19 12:22:03 -07:00
1 parent 9de8cb888a
commit b32c9615a7
7 files changed
+12 -23

No files matched your search

+1 -1
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);
}