mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Remove unnecessary SDLCALL from xpm declarations
This commit is contained in:
parent
3350096b2f
commit
f5fe8c46fa
1 changed files with 5 additions and 1 deletions
|
|
@ -44,10 +44,14 @@
|
|||
|
||||
#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);
|
||||
#else
|
||||
extern int IMG_isXPM(SDL_RWops *src);
|
||||
extern SDL_Surface *IMG_LoadXPM_RW(SDL_RWops *src);
|
||||
extern SDL_Surface *IMG_ReadXPMFromArray(const char **xpm);
|
||||
#define IMG_SetError SDL_SetError
|
||||
#define IMG_GetError SDL_GetError
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue