Index: tools/vulkan/viewer/VulkanViewer.cpp |
diff --git a/tools/vulkan/viewer/VulkanViewer.cpp b/tools/vulkan/viewer/VulkanViewer.cpp |
index faa30142dd2470947eb8aa7251003673afbe99e8..a27f5b67ad26668a60d16ac94b989b05c3809bf4 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(); |
} |
} |