commit | 39ee0ffa72fbd5df6d3ec6db4fdad0c1bc3946fd | [log] [tgz] |
---|---|---|
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Tue Dec 06 15:32:52 2011 +0000 |
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Tue Dec 06 15:32:52 2011 +0000 |
tree | 02cd7e93425776b39d82b5f4673832d058e57502 | |
parent | b0c5e078d8af06ec3ce5ea2cdc86c2f1084457a2 [diff] [blame] |
Prep #1 for making GrDrawState a class Review URL: http://codereview.appspot.com/5437138/ git-svn-id: http://skia.googlecode.com/svn/trunk@2808 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gm/texdata.cpp b/gm/texdata.cpp index 0b5cb33..353c4c0 100644 --- a/gm/texdata.cpp +++ b/gm/texdata.cpp
@@ -110,7 +110,7 @@ GrMatrix tm; tm = vm; tm.postIDiv(2*S, 2*S); - paint.getTextureSampler(0)->setMatrix(tm); + paint.textureSampler(0)->setMatrix(tm); paint.setTexture(0, texture); ctx->drawRect(paint, GrRect::MakeWH(2*S, 2*S));