aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Bouclet2018-03-17 16:09:09 +0100
committerBastien Bouclet2018-03-17 16:11:41 +0100
commitb2727018344535789c96b0e9c95c741d0dd054c5 (patch)
tree623025b7766e3f5b0d9d72f80979d82413f7c9eb
parent41a35c736b1a2efd9fd13051dadb8fb6bc2233c1 (diff)
downloadscummvm-rg350-b2727018344535789c96b0e9c95c741d0dd054c5.tar.gz
scummvm-rg350-b2727018344535789c96b0e9c95c741d0dd054c5.tar.bz2
scummvm-rg350-b2727018344535789c96b0e9c95c741d0dd054c5.zip
GRAPHICS: Dont clip in the non-clip version of drawRoundedSquareAlg
Fixes missing modern theme GUI dialog borders when using the non-antialiased renderer.
-rw-r--r--graphics/VectorRendererSpec.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/graphics/VectorRendererSpec.cpp b/graphics/VectorRendererSpec.cpp
index 1d6b2589cb..3f4c314656 100644
--- a/graphics/VectorRendererSpec.cpp
+++ b/graphics/VectorRendererSpec.cpp
@@ -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);