GrPaint encapsulation.
R=robertphillips@google.com
Review URL: https://codereview.appspot.com/6624052
git-svn-id: http://skia.googlecode.com/svn/trunk@5838 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gm/texdata.cpp b/gm/texdata.cpp
index a87be45..724b4ec 100644
--- a/gm/texdata.cpp
+++ b/gm/texdata.cpp
@@ -100,10 +100,7 @@
ctx->setRenderTarget(target);
GrPaint paint;
- paint.reset();
- paint.fColor = 0xffffffff;
- paint.fSrcBlendCoeff = kOne_GrBlendCoeff;
- paint.fDstBlendCoeff = kISA_GrBlendCoeff;
+ paint.setBlendFunc(kOne_GrBlendCoeff, kISA_GrBlendCoeff);
GrMatrix vm;
if (i) {
vm.setRotate(90 * SK_Scalar1,