From 1bb627514d2db6a9d2292d5c2738a1dbd150786f Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Sun, 24 Nov 2024 17:54:55 -0800
Subject: [PATCH] Fixed build
(cherry picked from commit a5da9be5e64671c29595fe12132bbf105f71da05)
---
src/video/SDL_fillrect.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/video/SDL_fillrect.c b/src/video/SDL_fillrect.c
index c7d8acd05d40e..457c4f495d91f 100644
--- a/src/video/SDL_fillrect.c
+++ b/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; \