summaryrefslogtreecommitdiffstats
path: root/thirdparty/thorvg/src/renderer/tvgAnimation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/thorvg/src/renderer/tvgAnimation.cpp')
-rw-r--r--thirdparty/thorvg/src/renderer/tvgAnimation.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/thirdparty/thorvg/src/renderer/tvgAnimation.cpp b/thirdparty/thorvg/src/renderer/tvgAnimation.cpp
index 7a29ecf973..b4ea534b91 100644
--- a/thirdparty/thorvg/src/renderer/tvgAnimation.cpp
+++ b/thirdparty/thorvg/src/renderer/tvgAnimation.cpp
@@ -62,7 +62,7 @@ Animation::Animation() : pImpl(new Impl)
}
-Result Animation::frame(uint32_t no) noexcept
+Result Animation::frame(float no) noexcept
{
auto loader = pImpl->picture->pImpl->loader.get();
@@ -80,7 +80,7 @@ Picture* Animation::picture() const noexcept
}
-uint32_t Animation::curFrame() const noexcept
+float Animation::curFrame() const noexcept
{
auto loader = pImpl->picture->pImpl->loader.get();
@@ -91,7 +91,7 @@ uint32_t Animation::curFrame() const noexcept
}
-uint32_t Animation::totalFrame() const noexcept
+float Animation::totalFrame() const noexcept
{
auto loader = pImpl->picture->pImpl->loader.get();