sw_engine: Fix build error (no match type)

../src/lib/sw_engine/tvgSwStroke.cpp:282:72: error: no match for ‘operator<’ (operand types are ‘long int’ and ‘const SwPoint’)
         if (border->ptsCnt > 0 && abs(diff.x) < EPSILON && abs(diff.y) < EPSILON) return;

Change-Id: I426f8980ba718e3dc908dc32a62fb897b5b5fbbf
This commit is contained in:
JunsuChoi 2020-05-29 13:33:46 +09:00
parent b4cf6660b7
commit 6744838453

View file

@ -269,7 +269,7 @@ static void _growBorder(SwStrokeBorder* border, uint32_t newPts)
static void _borderLineTo(SwStrokeBorder* border, SwPoint& to, bool movable)
{
constexpr SwPoint EPSILON = 2;
constexpr SwCoord EPSILON = 2;
assert(border && border->start >= 0);