diff options
author | Eugene Sandulenko | 2010-08-25 07:39:08 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2010-08-25 07:39:08 +0000 |
commit | d2cf99f67daeb23767f9df82398417c2dff5e1da (patch) | |
tree | 9079d1168cf4548e1325dd957d2d57e61b96c7ef /graphics/VectorRendererSpec.cpp | |
parent | 540cff87dca6bd80bc90f3b7175cd9fe74b780d4 (diff) | |
download | scummvm-rg350-d2cf99f67daeb23767f9df82398417c2dff5e1da.tar.gz scummvm-rg350-d2cf99f67daeb23767f9df82398417c2dff5e1da.tar.bz2 scummvm-rg350-d2cf99f67daeb23767f9df82398417c2dff5e1da.zip |
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
Diffstat (limited to 'graphics/VectorRendererSpec.cpp')
-rw-r--r-- | graphics/VectorRendererSpec.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; \ } |