Browse Source

Fixed build

(cherry picked from commit a5da9be5e64671c29595fe12132bbf105f71da05)
Sam Lantinga 4 months ago
parent
commit
1bb627514d
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/video/SDL_fillrect.c

+ 3 - 3
src/video/SDL_fillrect.c

@@ -61,15 +61,15 @@ static void SDL_FillRect##bpp##SSE(Uint8 *pixels, int pitch, Uint32 color, int w
 { \
     int i, n; \
     Uint8 *p = NULL; \
-  \
+ \
+    SSE_BEGIN; \
+ \
     /* If the number of bytes per row is equal to the pitch, treat */ \
     /* all rows as one long continuous row (for better performance) */ \
     if ((w) * (bpp) == pitch) { \
         w = w * h; \
         h = 1; \
     } \
- \
-    SSE_BEGIN; \
  \
     while (h--) { \
         n = w * bpp; \