fixed SDL_BlitMap typedef redefinition errors

main
Ozkan Sezer 2022-06-22 01:37:00 +03:00
parent 12b371ee0f
commit 7adb08a79a
1 changed files with 3 additions and 2 deletions

View File

@ -90,7 +90,8 @@ typedef struct
} SDL_BlitFuncEntry; } SDL_BlitFuncEntry;
/* Blit mapping definition */ /* Blit mapping definition */
typedef struct SDL_BlitMap /* typedef'ed in SDL_surface.h */
struct SDL_BlitMap
{ {
SDL_Surface *dst; SDL_Surface *dst;
int identity; int identity;
@ -102,7 +103,7 @@ typedef struct SDL_BlitMap
an invalid mapping */ an invalid mapping */
Uint32 dst_palette_version; Uint32 dst_palette_version;
Uint32 src_palette_version; Uint32 src_palette_version;
} SDL_BlitMap; };
/* Functions found in SDL_blit.c */ /* Functions found in SDL_blit.c */
extern int SDL_CalculateBlit(SDL_Surface * surface); extern int SDL_CalculateBlit(SDL_Surface * surface);