mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-09 04:16:34 +00:00
GRAPHICS: Dont clip in the non-clip version of drawRoundedSquareAlg
Fixes missing modern theme GUI dialog borders when using the non-antialiased renderer.
This commit is contained in:
parent
41a35c736b
commit
b272701834
@ -3199,8 +3199,6 @@ drawInteriorRoundedSquareAlg(int x1, int y1, int r, int w, int h, PixelType colo
|
||||
while (x++ < y) {
|
||||
BE_ALGORITHM();
|
||||
|
||||
if (y1 + r + y < _clippingArea.top || y1 + r + y > _clippingArea.bottom) continue;
|
||||
|
||||
color1 = calcGradient(real_radius - x, long_h);
|
||||
color2 = calcGradient(real_radius - y, long_h);
|
||||
color3 = calcGradient(long_h - r + x, long_h);
|
||||
|
Loading…
x
Reference in New Issue
Block a user