Index: src/gpu/SkGpuDevice.cpp |
diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp |
index de550b05c73dd1bbbe8c38876de96e946c039ad6..337f400056f87c9d48d7d536c6ae3d30568a4c55 100644 |
--- a/src/gpu/SkGpuDevice.cpp |
+++ b/src/gpu/SkGpuDevice.cpp |
@@ -62,7 +62,6 @@ |
// a sub region of a larger source image. |
#define COLOR_BLEED_TOLERANCE 0.001f |
-// Do deferred clear just before any draw call |
#define DO_DEFERRED_CLEAR() \ |
do { \ |
if (fNeedClear) { \ |
@@ -302,6 +301,7 @@ |
} |
GrRenderTarget* SkGpuDevice::accessRenderTarget() { |
+ DO_DEFERRED_CLEAR(); |
return fRenderTarget; |
} |