common: fix wrong viewport region.
authorHermet Park <chuneon.park@samsung.com>
Fri, 26 Mar 2021 08:24:43 +0000 (17:24 +0900)
committerHermet Park <chuneon.park@samsung.com>
Mon, 29 Mar 2021 02:25:36 +0000 (11:25 +0900)
commit25ef996eb247f7b2d0cd74db831c768df970f915
treeb4abcb61142be64ae814bbcafe5cdcc1d0b9eb5a
parent1cffdbff65e893ee0d421441701fb39738dcc98a
common: fix wrong viewport region.

in the clip rect, viewport must be accumulated to the smaller one.
this patch improves that corner-case.
src/lib/sw_engine/tvgSwShape.cpp
src/lib/tvgPaint.h
src/lib/tvgRender.h