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:
1606656
)
common: change args type in the internal size() implementation
author
Mira Grudzinska
<m.grudzinska@samsung.com>
Mon, 20 Sep 2021 11:49:19 +0000
(13:49 +0200)
committer
Hermet Park
<chuneon.park@samsung.com>
Mon, 27 Sep 2021 02:20:49 +0000
(11:20 +0900)
The API expected floats, whereas the called impl function expected
ints. The values were saved as floats, so the float->int->float conversion
is not needed.
src/lib/tvgPictureImpl.h
patch
|
blob
|
history
diff --git
a/src/lib/tvgPictureImpl.h
b/src/lib/tvgPictureImpl.h
index
5f19377
..
02dc4b1
100644
(file)
--- a/
src/lib/tvgPictureImpl.h
+++ b/
src/lib/tvgPictureImpl.h
@@
-159,7
+159,7
@@
struct Picture::Impl
return true;
}
- bool size(
uint32_t w, uint32_
t h)
+ bool size(
float w, floa
t h)
{
this->w = w;
this->h = h;