diff options
author | 2012-10-05 14:54:42 +0000 | |
---|---|---|
committer | 2012-10-05 14:54:42 +0000 | |
commit | 88becf450f015007d785f2b5aa7fe4690e295868 (patch) | |
tree | 2d3442dea04ff54d42cd402be58a3dd0cb3c5434 /gm | |
parent | 6f1dbff980d6d9717d9207585bab83be7f2ff73d (diff) |
Rename GrPaint fields/enums/members texture->color mask->coverage.
R=robertphillips@google.com
Review URL: https://codereview.appspot.com/6615046
git-svn-id: http://skia.googlecode.com/svn/trunk@5827 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gm')
-rw-r--r-- | gm/texdata.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gm/texdata.cpp b/gm/texdata.cpp index cf1a701cef..a87be453ea 100644 --- a/gm/texdata.cpp +++ b/gm/texdata.cpp @@ -115,10 +115,10 @@ protected: ctx->setMatrix(vm); GrMatrix tm; tm = vm; - GrMatrix* sampleMat = paint.textureSampler(0)->matrix(); + GrMatrix* sampleMat = paint.colorSampler(0)->matrix(); *sampleMat = vm; sampleMat->postIDiv(2*S, 2*S); - paint.textureSampler(0)->setCustomStage( + paint.colorSampler(0)->setCustomStage( SkNEW_ARGS(GrSingleTextureEffect, (texture)))->unref(); |