Browse Source

fixed SDL_BlitMap typedef redefinition errors

Ozkan Sezer 2 years ago
parent
commit
7adb08a79a
1 changed files with 3 additions and 2 deletions
  1. 3 2
      src/video/SDL_blit.h

+ 3 - 2
src/video/SDL_blit.h

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