From 7adb08a79a5decee03379363aff07aa1d350acb3 Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Wed, 22 Jun 2022 01:37:00 +0300
Subject: [PATCH] fixed SDL_BlitMap typedef redefinition errors
---
src/video/SDL_blit.h | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/video/SDL_blit.h b/src/video/SDL_blit.h
index e00ba68e2d6..2f99fa8d9ac 100644
--- a/src/video/SDL_blit.h
+++ b/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);