Merge branch 'vc-xpm-fix' into 'master'

Remove unnecessary SDLCALL from IMG_xpm.c declarations

See merge request STJr/SRB2!327
This commit is contained in:
Alam Ed Arias 2018-11-14 11:00:20 -05:00
commit f81d01edca

View file

@ -45,9 +45,10 @@
#if 0
#include "SDL_image.h"
#else
extern SDLCALL int SDLCALL IMG_isXPM(SDL_RWops *src);
extern SDLCALL SDL_Surface *IMG_LoadXPM_RW(SDL_RWops *src);
extern SDLCALL SDL_Surface * SDLCALL IMG_ReadXPMFromArray(const char **xpm);
// SDLCALL terms removed from original SDL_image declarations
int IMG_isXPM(SDL_RWops *src);
SDL_Surface *IMG_LoadXPM_RW(SDL_RWops *src);
SDL_Surface *IMG_ReadXPMFromArray(const char **xpm);
#define IMG_SetError SDL_SetError
#define IMG_GetError SDL_GetError
#endif