aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/vulkan/viewer/VulkanViewer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/vulkan/viewer/VulkanViewer.cpp')
-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();
}
}