mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-09 14:13:43 +00:00
common paint: fix a typo.
This commit is contained in:
parent
bfaf26d99e
commit
4ac58de1bf
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ static bool _compFastTrack(Paint* cmpTarget, const RenderTransform* pTransform,
|
|||
viewport.x = static_cast<uint32_t>(x1);
|
||||
viewport.y = static_cast<uint32_t>(y1);
|
||||
viewport.w = static_cast<uint32_t>(x2 - x1 < 0 ? 0 : roundf(x2 - x1 + 0.5f));
|
||||
viewport.h = static_cast<uint32_t>(x2 - x1 < 0 ? 0 : roundf(y2 - y1 + 0.5f));
|
||||
viewport.h = static_cast<uint32_t>(y2 - y1 < 0 ? 0 : roundf(y2 - y1 + 0.5f));
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue