Index: src/gpu/effects/GrConvexPolyEffect.cpp |
diff --git a/src/gpu/effects/GrConvexPolyEffect.cpp b/src/gpu/effects/GrConvexPolyEffect.cpp |
index 87d1286bbf70056015f74adee49e5c4699538782..0f933e50b8562473dc52366241386b7a0f4a0c88 100644 |
--- a/src/gpu/effects/GrConvexPolyEffect.cpp |
+++ b/src/gpu/effects/GrConvexPolyEffect.cpp |
@@ -46,7 +46,7 @@ private: |
virtual void onComputeInvariantOutput(InvariantOutput* inout) const SK_OVERRIDE { |
if (fRect.isEmpty()) { |
// An empty rect will have no coverage anywhere. |
- inout->setToTransparentBlack(); |
+ inout->setToTransparentBlack(InvariantOutput::kWill_ReadInput); |
} else { |
inout->mulByUnknownAlpha(); |
} |