Skip to content

Commit

Permalink
Fixed build
Browse files Browse the repository at this point in the history
(cherry picked from commit a5da9be)
  • Loading branch information
slouken authored and sezero committed Nov 25, 2024
1 parent 1e3465d commit 1bb6275
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/video/SDL_fillrect.c
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
Expand Down

0 comments on commit 1bb6275

Please sign in to comment.