mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 05:33:36 +00:00
common: change args type in the internal size() implementation
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.
This commit is contained in:
parent
c5430684d1
commit
90fa4fbe6d
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ struct Picture::Impl
|
|||
return true;
|
||||
}
|
||||
|
||||
bool size(uint32_t w, uint32_t h)
|
||||
bool size(float w, float h)
|
||||
{
|
||||
this->w = w;
|
||||
this->h = h;
|
||||
|
|
Loading…
Add table
Reference in a new issue