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/src/gpu/GrTextContext.cpp b/src/gpu/GrTextContext.cpp
index 06cc2a1..657841c 100644
--- a/src/gpu/GrTextContext.cpp
+++ b/src/gpu/GrTextContext.cpp
@@ -123,7 +123,7 @@
if (NULL != fPaint.getTexture(t)) {
if (invVMComputed || fOrigViewMatrix.invert(&invVM)) {
invVMComputed = true;
- fPaint.getTextureSampler(t)->preConcatMatrix(invVM);
+ fPaint.textureSampler(t)->preConcatMatrix(invVM);
}
}
}
@@ -131,7 +131,7 @@
if (NULL != fPaint.getMask(m)) {
if (invVMComputed || fOrigViewMatrix.invert(&invVM)) {
invVMComputed = true;
- fPaint.getMaskSampler(m)->preConcatMatrix(invVM);
+ fPaint.maskSampler(m)->preConcatMatrix(invVM);
}
}
}