Skip to content

Commit

Permalink
Fixed sdlgraphics.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
midwan committed Sep 12, 2024
1 parent ff055d0 commit 3a0e9db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sdl/sdlgraphics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -200,9 +200,9 @@ namespace gcn
const int y2 = area.y + area.height < top.y + top.height ? area.y + area.height : top.y + top.height;

SDL_LockSurface(mTarget);
for (y = y1; y < y2; y++)
for (int y = y1; y < y2; y++)
{
for (x = x1; x < x2; x++)
for (int x = x1; x < x2; x++)
{
SDLputPixelAlpha(mTarget, x, y, mColor);
}
Expand Down

0 comments on commit 3a0e9db

Please sign in to comment.