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:
97d421c
)
sw_engine: fix compiler a warning
author
Hermet Park
<chuneon.park@samsung.com>
Fri, 24 Sep 2021 03:11:47 +0000
(12:11 +0900)
committer
Hermet Park
<chuneon.park@samsung.com>
Mon, 27 Sep 2021 02:21:56 +0000
(11:21 +0900)
handle them double type values.
src/lib/sw_engine/tvgSwFill.cpp
patch
|
blob
|
history
diff --git
a/src/lib/sw_engine/tvgSwFill.cpp
b/src/lib/sw_engine/tvgSwFill.cpp
index
747a059
..
4eb61a3
100644
(file)
--- a/
src/lib/sw_engine/tvgSwFill.cpp
+++ b/
src/lib/sw_engine/tvgSwFill.cpp
@@
-150,7
+150,7
@@
bool _prepareRadial(SwFill* fill, const RadialGradient* radial, const Matrix* tr
//FIXME; Scale + Rotation is not working properly
radius *= sx;
- if (
fabsf(sx - sy) > FLT
_EPSILON) {
+ if (
abs(sx - sy) > DBL
_EPSILON) {
fill->sx = sx;
fill->sy = sy;
}