commit | d041e476f3c959f5b373b64a329aa427d057375e | [log] [tgz] |
---|---|---|
author | Chris Craik <ccraik@google.com> | Wed Feb 27 23:48:16 2013 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Wed Feb 27 23:49:37 2013 +0000 |
tree | 5f7f48f3c9840cf061146de063cd894ccba486e3 | |
parent | d80806b305ce337283c24f14522cc58fea090b8c [diff] | |
parent | 19a390bff348cd379caba1265faec77fcff29200 [diff] |
Merge "Correct sub-hairline tessellation threshold" into jb-mr2-dev
diff --git a/libs/hwui/PathTessellator.cpp b/libs/hwui/PathTessellator.cpp index 69ccdfa..395bbf6 100644 --- a/libs/hwui/PathTessellator.cpp +++ b/libs/hwui/PathTessellator.cpp
@@ -109,7 +109,7 @@ } if (isAA && halfStrokeWidth != 0 && inverseScaleX == inverseScaleY && - halfStrokeWidth * inverseScaleX < 0.5f) { + 2 * halfStrokeWidth < inverseScaleX) { maxAlpha *= (2 * halfStrokeWidth) / inverseScaleX; halfStrokeWidth = 0.0f; }