GRAPHICS: Fix drawing rounded rectangle borders for the non AA renderer
The check for the clipping rect was in the non-clip version of the method, and was using values not in screen-space.
This commit is contained in:
parent
f9f3565582
commit
191059b060
1 changed files with 0 additions and 3 deletions
|
@ -2695,9 +2695,6 @@ drawBorderRoundedSquareAlg(int x1, int y1, int r, int w, int h, PixelType color,
|
|||
while (x++ < (y - 2)) {
|
||||
BE_ALGORITHM();
|
||||
|
||||
if (x < _clippingArea.left || x > _clippingArea.right) continue;
|
||||
if (y < _clippingArea.top || y > _clippingArea.bottom) continue;
|
||||
|
||||
BE_DRAWCIRCLE_BCOLOR_TR_CW(ptr_tr, x, y, px, py, (uint8)(alpha_r + (alphaStep_tr * x)));
|
||||
BE_DRAWCIRCLE_BCOLOR_BR_CW(ptr_br, x, y, px, py, (uint8)(alpha_b + (alphaStep_br * x)));
|
||||
BE_DRAWCIRCLE_BCOLOR_BL_CW(ptr_bl, x, y, px, py, (uint8)(alpha_l + (alphaStep_bl * x)));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue