aboutsummaryrefslogtreecommitdiffhomepage
path: root/samplecode/SampleClock.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'samplecode/SampleClock.cpp')
-rw-r--r--samplecode/SampleClock.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/samplecode/SampleClock.cpp b/samplecode/SampleClock.cpp
index ae7462d1dc..ff3a5b1927 100644
--- a/samplecode/SampleClock.cpp
+++ b/samplecode/SampleClock.cpp
@@ -215,8 +215,10 @@ protected:
#endif
canvas->restore();
+ }
- this->inval(nullptr);
+ bool onAnimate(const SkAnimTimer&) override {
+ return true;
}
private: