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