projects
/
platform
/
core
/
graphics
/
tizenvg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ce367a
)
sw_engine raster: fix a regression bug.
author
Hermet Park
<chuneon.park@samsung.com>
Thu, 25 Nov 2021 05:48:16 +0000
(14:48 +0900)
committer
JunsuChoi
<jsuya.choi@samsung.com>
Thu, 25 Nov 2021 08:56:39 +0000
(17:56 +0900)
mistaken by
8ef31f6cd031b1369ec52e18cc0c97b6efaca6ab
src/lib/sw_engine/tvgSwRaster.cpp
patch
|
blob
|
history
diff --git
a/src/lib/sw_engine/tvgSwRaster.cpp
b/src/lib/sw_engine/tvgSwRaster.cpp
index
5de990f
..
e75f260
100644
(file)
--- a/
src/lib/sw_engine/tvgSwRaster.cpp
+++ b/
src/lib/sw_engine/tvgSwRaster.cpp
@@
-2244,7
+2244,7
@@
static bool _rasterSolidRadialGradientRle(SwSurface* surface, const SwRleData* r
} else {
fillFetchRadial(fill, buf, span->y, span->x, span->len);
auto ialpha = 255 - span->coverage;
- for (uint32_t i = 0; i < span->len; ++i) {
+ for (uint32_t i = 0; i < span->len; ++i
, ++dst
) {
*dst = ALPHA_BLEND(buf[i], span->coverage) + ALPHA_BLEND(*dst, ialpha);
}
}