Index: gm/shallowgradient.cpp |
diff --git a/gm/shallowgradient.cpp b/gm/shallowgradient.cpp |
index a2b29d37ed8064632d7a38affa7f8a1a8d6d9538..21dd46a91c431296c0be5265a9beb5a41d1b6572 100644 |
--- a/gm/shallowgradient.cpp |
+++ b/gm/shallowgradient.cpp |
@@ -66,6 +66,7 @@ protected: |
SkPaint paint; |
paint.setShader(fProc(colors, colorCount, size))->unref(); |
+ paint.setDither(true); |
canvas->drawRect(r, paint); |
} |