summaryrefslogtreecommitdiffstats
path: root/libs/hwui/Line.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/hwui/Line.h')
-rw-r--r--libs/hwui/Line.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/Line.h b/libs/hwui/Line.h
index 820793c..64bdd6a 100644
--- a/libs/hwui/Line.h
+++ b/libs/hwui/Line.h
@@ -93,7 +93,7 @@ public:
mXDivs, mYDivs, mXDivsCount, mYDivsCount);
tx = -gLineAABias;
- ty = lineWidth == 1.0f ? -gLineAABias : -half - gLineAABias;
+ ty = lineWidth <= 1.0f ? -gLineAABias : -half - gLineAABias;
}
inline GLvoid* getVertices() const {