Skip to content

Commit

Permalink
Merge pull request #3280 from Starbuck5/tiny-gfxdraw-adjustment
Browse files Browse the repository at this point in the history
Remove unnecessary lock in gfxdraw
  • Loading branch information
ankith26 authored Jan 5, 2025
2 parents b27d0c1 + 683139e commit e5e2e5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src_c/SDL_gfx/SDL_gfxPrimitives.c
Original file line number Diff line number Diff line change
Expand Up @@ -4093,7 +4093,7 @@ ellipseColor(SDL_Surface *dst, Sint16 x, Sint16 y, Sint16 rx, Sint16 ry,
result |= pixelColorNolock(dst, xmi, ypj, color);
result |= pixelColorNolock(dst, xpi, ypj, color);
result |= pixelColorNolock(dst, xmi, ymj, color);
result |= pixelColor(dst, xpi, ymj, color);
result |= pixelColorNolock(dst, xpi, ymj, color);
}
else {
result |= pixelColorNolock(dst, xmi, y, color);
Expand Down

0 comments on commit e5e2e5f

Please sign in to comment.