# SDL: Fixed build (a5da9)

**URL:** <https://discourse.libsdl.org/t/sdl-fixed-build-a5da9/55685>\
**Category:** SDL Commits\
**Created:** [November 25, 2024, 1:54am UTC](https://discourse.libsdl.org/t/sdl-fixed-build-a5da9/55685 "2024-11-25T01:54:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SDLPushPostBot](https://discourse.libsdl.org/user_avatar/discourse.libsdl.org/sdlpushpostbot/32/4370_2.png) [@SDLPushPostBot](https://discourse.libsdl.org/u/SDLPushPostBot)\
**Post date:** [November 25, 2024, 1:54am UTC](https://discourse.libsdl.org/t/sdl-fixed-build-a5da9/55685/1 "2024-11-25T01:54:38Z")

</div>

> <https://github.com/libsdl-org/SDL/commit/a5da9be5e64671c29595fe12132bbf105f71da05>

```diff
From a5da9be5e64671c29595fe12132bbf105f71da05 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

---
 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; \

```
