diff options
author | Sam Lantinga <slouken@libsdl.org> | 2017-08-14 06:28:21 -0700 |
---|---|---|
committer | Sam Lantinga <slouken@libsdl.org> | 2017-08-14 06:28:21 -0700 |
commit | b9dfa0753fd2846e4cc6adb34dcbf4c9b38cf7c8 (patch) | |
tree | b58f07ec97ac243f4408f873b6e8b930c65829f9 /include/SDL_surface.h | |
parent | 622028eef90b281436b50370e9d157e548c4aa5a (diff) | |
download | sdl-b9dfa0753fd2846e4cc6adb34dcbf4c9b38cf7c8.tar.gz |
Fixed bug 3745 - specify SDLCALL as the calling convention for API callbacks
Patches contributed by Ozkan Sezer
Diffstat (limited to 'include/SDL_surface.h')
-rw-r--r-- | include/SDL_surface.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/SDL_surface.h b/include/SDL_surface.h index 62f713aa0..c3ea1d532 100644 --- a/include/SDL_surface.h +++ b/include/SDL_surface.h @@ -94,8 +94,8 @@ typedef struct SDL_Surface /** * \brief The type of function used for surface blitting functions. */ -typedef int (*SDL_blit) (struct SDL_Surface * src, SDL_Rect * srcrect, - struct SDL_Surface * dst, SDL_Rect * dstrect); +typedef int (SDLCALL *SDL_blit) (struct SDL_Surface * src, SDL_Rect * srcrect, + struct SDL_Surface * dst, SDL_Rect * dstrect); /** * Allocate and free an RGB surface. |