mirror of
https://github.com/encounter/SDL.git
synced 2025-12-21 02:39:10 +00:00
Fixed bug 3745 - specify SDLCALL as the calling convention for API callbacks
Patches contributed by Ozkan Sezer
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user