SDL_GetMice() follows the SDL_GetStringRule

This commit is contained in:
Sam Lantinga
2024-07-18 17:29:24 -07:00
parent 6ca18ed0e5
commit 9be73ed7c5
6 changed files with 11 additions and 12 deletions

View File

@@ -83,7 +83,7 @@ int main(int argc, char *argv[])
SDL_GetKeyboards(&num_keyboards);
SDL_Log("There are %d keyboards at startup\n", num_keyboards);
SDL_free(SDL_GetMice(&num_mice));
SDL_GetMice(&num_mice);
SDL_Log("There are %d mice at startup\n", num_mice);
SDL_GetJoysticks(&num_joysticks);