diff options
Diffstat (limited to 'dm/DMGpuGMTask.cpp')
-rw-r--r-- | dm/DMGpuGMTask.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dm/DMGpuGMTask.cpp b/dm/DMGpuGMTask.cpp index c4867b6e9e..c72f675660 100644 --- a/dm/DMGpuGMTask.cpp +++ b/dm/DMGpuGMTask.cpp @@ -27,7 +27,7 @@ GpuGMTask::GpuGMTask(const char* config, void GpuGMTask::draw(GrContextFactory* grFactory) { SkImageInfo info = SkImageInfo::Make(SkScalarCeilToInt(fGM->width()), SkScalarCeilToInt(fGM->height()), - kPMColor_SkColorType, + kN32_SkColorType, kPremul_SkAlphaType); SkAutoTUnref<SkSurface> surface(NewGpuSurface(grFactory, fContextType, info, fSampleCount)); SkCanvas* canvas = surface->getCanvas(); |