diff options
author | jvanverth <jvanverth@google.com> | 2016-04-26 08:01:33 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-04-26 08:01:33 -0700 |
commit | 9d5e47f35470edf754dfd4d6fb8e0587b9c8096c (patch) | |
tree | 60ff8a34c308b22b87b79afde22148d3bbeed84b /tools | |
parent | 86ae3d161412961c27a406465b0ec5749cc2e753 (diff) |
Fix animation with stats in VulkanViewer
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1918083003
Review URL: https://codereview.chromium.org/1918083003
Diffstat (limited to 'tools')
-rw-r--r-- | tools/vulkan/viewer/VulkanViewer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/vulkan/viewer/VulkanViewer.cpp b/tools/vulkan/viewer/VulkanViewer.cpp index faa30142dd..a27f5b67ad 100644 --- a/tools/vulkan/viewer/VulkanViewer.cpp +++ b/tools/vulkan/viewer/VulkanViewer.cpp @@ -338,7 +338,7 @@ void VulkanViewer::onIdle(double ms) { SkASSERT(fCurrentMeasurement < kMeasurementCount); fAnimTimer.updateTime(); - if (fDisplayStats || fSlides[fCurrentSlide]->animate(fAnimTimer)) { + if (fSlides[fCurrentSlide]->animate(fAnimTimer) || fDisplayStats) { fWindow->inval(); } } |