Commit ee6bfcdd66c107187acbc928c379572b95479ff6

Ozkan Sezer 2022-03-13T20:56:42

SDL_blit_N.c: removed duplicated const (fixes bug #5401)

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/video/SDL_blit_N.c b/src/video/SDL_blit_N.c
index 5736b86..e3b6c96 100644
--- a/src/video/SDL_blit_N.c
+++ b/src/video/SDL_blit_N.c
@@ -128,7 +128,7 @@ calc_swizzle32(const SDL_PixelFormat * srcfmt, const SDL_PixelFormat * dstfmt)
      *  leave alpha with a zero mask, but we should still swizzle the bits.
      */
     /* ARGB */
-    const static const struct SDL_PixelFormat default_pixel_format = {
+    static const struct SDL_PixelFormat default_pixel_format = {
         0, NULL, 0, 0,
         {0, 0},
         0x00FF0000, 0x0000FF00, 0x000000FF, 0xFF000000,