Index: samplecode/SampleAtlas.cpp |
diff --git a/samplecode/SampleAtlas.cpp b/samplecode/SampleAtlas.cpp |
index 7cf1bb376193022114a31278bcbd8fd212ccfda5..3daf312f6a1a623d0a933e1e8087369ef3fe82d0 100644 |
--- a/samplecode/SampleAtlas.cpp |
+++ b/samplecode/SampleAtlas.cpp |
@@ -232,9 +232,11 @@ protected: |
void onDrawContent(SkCanvas* canvas) override { |
canvas->drawDrawable(fDrawable); |
- this->inval(nullptr); |
} |
+ bool onAnimate(const SkAnimTimer&) override { |
+ return true; |
+ } |
#if 0 |
// TODO: switch over to use this for our animation |
bool onAnimate(const SkAnimTimer& timer) override { |