aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar jvanverth <jvanverth@google.com>2016-04-26 08:01:33 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-04-26 08:01:33 -0700
commit9d5e47f35470edf754dfd4d6fb8e0587b9c8096c (patch)
tree60ff8a34c308b22b87b79afde22148d3bbeed84b /tools
parent86ae3d161412961c27a406465b0ec5749cc2e753 (diff)
Fix animation with stats in VulkanViewer
Diffstat (limited to 'tools')
-rw-r--r--tools/vulkan/viewer/VulkanViewer.cpp2
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();
}
}