Fixed bug 3745 - specify SDLCALL as the calling convention for API callbacks
Patches contributed by Ozkan Sezer
This commit is contained in:
parent
54ffe889c5
commit
520aaf19a4
23 changed files with 40 additions and 38 deletions
|
@ -168,13 +168,13 @@ SDL_LoadVIDPIDListFromHint(const char *hint, SDL_vidpid_list *list)
|
|||
}
|
||||
}
|
||||
|
||||
static void
|
||||
static void SDLCALL
|
||||
SDL_GameControllerIgnoreDevicesChanged(void *userdata, const char *name, const char *oldValue, const char *hint)
|
||||
{
|
||||
SDL_LoadVIDPIDListFromHint(hint, &SDL_ignored_controllers);
|
||||
}
|
||||
|
||||
static void
|
||||
static void SDLCALL
|
||||
SDL_GameControllerIgnoreDevicesExceptChanged(void *userdata, const char *name, const char *oldValue, const char *hint)
|
||||
{
|
||||
SDL_LoadVIDPIDListFromHint(hint, &SDL_allowed_controllers);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue