Index: gm/texturedomaineffect.cpp |
diff --git a/gm/texturedomaineffect.cpp b/gm/texturedomaineffect.cpp |
index beb98b6dd3207d4d36fc44bf5598218c04ff7044..8a5953262ae2cdd3af098023b3d17ab3354d3209 100644 |
--- a/gm/texturedomaineffect.cpp |
+++ b/gm/texturedomaineffect.cpp |
@@ -130,11 +130,11 @@ protected: |
} |
SkMatrix viewMatrix; |
viewMatrix.setTranslate(x, y); |
- GrDrawState drawState(viewMatrix); |
+ GrDrawState drawState; |
drawState.setRenderTarget(rt); |
drawState.addColorProcessor(fp); |
- tt.target()->drawSimpleRect(&drawState, GrColor_WHITE, renderRect); |
+ tt.target()->drawSimpleRect(&drawState, GrColor_WHITE, viewMatrix, renderRect); |
x += renderRect.width() + kTestPad; |
} |
y += renderRect.height() + kTestPad; |