From d2cf99f67daeb23767f9df82398417c2dff5e1da Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Wed, 25 Aug 2010 07:39:08 +0000 Subject: GUI: Fixed bug #2505686: "GUI: minor artifacts in rounded corners" It is practically not possible to get rid of those completely due to rounding errors with 16-bit surface. svn-id: r52367 --- graphics/VectorRendererSpec.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'graphics/VectorRendererSpec.cpp') diff --git a/graphics/VectorRendererSpec.cpp b/graphics/VectorRendererSpec.cpp index 666a59b888..966c56cf4e 100644 --- a/graphics/VectorRendererSpec.cpp +++ b/graphics/VectorRendererSpec.cpp @@ -164,7 +164,7 @@ inline frac_t fp_sqroot(uint32 x) { x--; px -= pitch; \ } \ a2 = (T >> 8); \ - a1 = ~a2; \ + a1 = ~a2 >> 4; \ } -- cgit v1.2.3