Index: src/image/SkSurface_Gpu.cpp |
diff --git a/src/image/SkSurface_Gpu.cpp b/src/image/SkSurface_Gpu.cpp |
index 848709445dadc3e39cb911513038664c869013b1..9ac6d553404e06d3032356571ff3837f50af192c 100644 |
--- a/src/image/SkSurface_Gpu.cpp |
+++ b/src/image/SkSurface_Gpu.cpp |
@@ -44,7 +44,7 @@ SkSurface_Gpu::SkSurface_Gpu(GrRenderTarget* renderTarget, const SkSurfaceProps* |
fDevice = SkGpuDevice::Create(renderTarget, this->props(), deviceFlags); |
if (kRGB_565_GrPixelConfig != renderTarget->config() && doClear) { |
- fDevice->clearAll(); |
+ fDevice->clear(0x0); |
} |
} |