Skip to content

Commit

Permalink
Fixed bug 3746 - remove SDLCALL attribute from SDL_BlitFunc() funcptr
Browse files Browse the repository at this point in the history
Ozkan Sezer

The attached patch removes SDLCALL attribute from SDL_BlitFunc() funcptr.

As far as I can see, *SDL_BlitFunc() is completely internal to SDL with
no specific calling convention requirements.  The actual functions assigned
to SDL_BlitFunc seem to not have any calling conventions specified. So,
easy solution is simply removing the strict calling convention from the
type.
  • Loading branch information
slouken committed Aug 14, 2017
1 parent ca5c304 commit 3cae0c3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/video/SDL_blit.h
Expand Up @@ -70,7 +70,8 @@ typedef struct
Uint8 r, g, b, a;
} SDL_BlitInfo;

typedef void (SDLCALL * SDL_BlitFunc) (SDL_BlitInfo * info);
typedef void (*SDL_BlitFunc) (SDL_BlitInfo *info);


typedef struct
{
Expand Down

0 comments on commit 3cae0c3

Please sign in to comment.