diff options
Diffstat (limited to 'tools/skhello.cpp')
-rw-r--r-- | tools/skhello.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/skhello.cpp b/tools/skhello.cpp index 55748d2e1b..9f054342a4 100644 --- a/tools/skhello.cpp +++ b/tools/skhello.cpp @@ -33,7 +33,7 @@ static void doDraw(SkCanvas* canvas, const SkPaint& paint, const char text[]) { static bool do_surface(int w, int h, const char path[], const char text[], const SkPaint& paint) { - SkAutoTUnref<SkSurface> surface(SkSurface::NewRasterPMColor(w, h)); + SkAutoTUnref<SkSurface> surface(SkSurface::NewRasterN32Premul(w, h)); doDraw(surface->getCanvas(), paint, text); SkAutoTUnref<SkImage> image(surface->newImageSnapshot()); |