Fixed bug 3745 - specify SDLCALL as the calling convention for API callbacks

Patches contributed by Ozkan Sezer
This commit is contained in:
Sam Lantinga 2017-08-14 06:28:21 -07:00
parent 54ffe889c5
commit 520aaf19a4
23 changed files with 40 additions and 38 deletions

View file

@ -178,7 +178,8 @@ void Wayland_ShowWindow(_THIS, SDL_Window *window)
}
#ifdef SDL_VIDEO_DRIVER_WAYLAND_QT_TOUCH
static void QtExtendedSurface_OnHintChanged(void *userdata, const char *name,
static void SDLCALL
QtExtendedSurface_OnHintChanged(void *userdata, const char *name,
const char *oldValue, const char *newValue)
{
struct qt_extended_surface *qt_extended_surface = userdata;