mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-15 04:24:28 +00:00
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:
parent
b4cf6660b7
commit
6744838453
1 changed files with 1 additions and 1 deletions
|
@ -269,7 +269,7 @@ static void _growBorder(SwStrokeBorder* border, uint32_t newPts)
|
||||||
|
|
||||||
static void _borderLineTo(SwStrokeBorder* border, SwPoint& to, bool movable)
|
static void _borderLineTo(SwStrokeBorder* border, SwPoint& to, bool movable)
|
||||||
{
|
{
|
||||||
constexpr SwPoint EPSILON = 2;
|
constexpr SwCoord EPSILON = 2;
|
||||||
|
|
||||||
assert(border && border->start >= 0);
|
assert(border && border->start >= 0);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue