SDL_GetKeyboards() follows the SDL_GetStringRule

This commit is contained in:
Sam Lantinga
2024-07-18 17:18:56 -07:00
parent 5ce0aacaa4
commit 6ca18ed0e5
6 changed files with 13 additions and 14 deletions

View File

@@ -80,7 +80,7 @@ int main(int argc, char *argv[])
//SDL_CreateWindow("Dummy", 128, 128, 0);
*/
SDL_free(SDL_GetKeyboards(&num_keyboards));
SDL_GetKeyboards(&num_keyboards);
SDL_Log("There are %d keyboards at startup\n", num_keyboards);
SDL_free(SDL_GetMice(&num_mice));