diff options
Diffstat (limited to 'gm/bitmaprecttest.cpp')
-rw-r--r-- | gm/bitmaprecttest.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gm/bitmaprecttest.cpp b/gm/bitmaprecttest.cpp index b36d21480f..54e0a28267 100644 --- a/gm/bitmaprecttest.cpp +++ b/gm/bitmaprecttest.cpp @@ -32,7 +32,7 @@ static void test_bitmaprect(SkCanvas* canvas) { make_bm(&bm); canvas->drawBitmap(bm, 150, 45, NULL); - + SkScalar scale = 0.472560018f; canvas->scale(scale, scale); canvas->drawBitmapRectToRect(bm, NULL, SkRect::MakeXYWH(100, 100, 128, 128), NULL); @@ -64,4 +64,3 @@ private: ////////////////////////////////////////////////////////////////////////////// DEF_GM( return new BitmapRectTestGM; ) - |