Index: samplecode/SampleAtlas.cpp |
diff --git a/samplecode/SampleAtlas.cpp b/samplecode/SampleAtlas.cpp |
index 4cce4879c4d1b762424a1e4d47644ab6e5ce2f0c..e11bf7e2c16eedbb61b7d6d28cd9a1322e98808d 100644 |
--- a/samplecode/SampleAtlas.cpp |
+++ b/samplecode/SampleAtlas.cpp |
@@ -33,7 +33,7 @@ static void draw_atlas_sim(SkCanvas* canvas, SkImage* atlas, const SkRSXform xfo |
canvas->save(); |
canvas->concat(matrix); |
- canvas->drawImageRect(atlas, &tex[i], tex[i].makeOffset(-tex[i].x(), -tex[i].y()), paint, |
+ canvas->drawImageRect(atlas, tex[i], tex[i].makeOffset(-tex[i].x(), -tex[i].y()), paint, |
SkCanvas::kFast_SrcRectConstraint); |
canvas->restore(); |
} |