aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/texturedomaineffect.cpp
diff options
context:
space:
mode:
authorGravatar joshualitt <joshualitt@chromium.org>2015-08-21 10:25:18 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-08-21 10:25:18 -0700
commitb6b513b805c37dc80999261c5d03e7af1976542e (patch)
tree6cd760ca1d84a9e55ea75e5aa66e71a9a11a1499 /gm/texturedomaineffect.cpp
parentea73fa529ffdfab49019aed95a122b721fe090f0 (diff)
Create separate entry points for the various flavors of drawRect
Diffstat (limited to 'gm/texturedomaineffect.cpp')
-rw-r--r--gm/texturedomaineffect.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/gm/texturedomaineffect.cpp b/gm/texturedomaineffect.cpp
index ed74dd7227..63d7aef450 100644
--- a/gm/texturedomaineffect.cpp
+++ b/gm/texturedomaineffect.cpp
@@ -130,10 +130,10 @@ protected:
pipelineBuilder.setRenderTarget(rt);
pipelineBuilder.addColorProcessor(fp);
- tt.target()->drawSimpleRect(pipelineBuilder,
- GrColor_WHITE,
- viewMatrix,
- renderRect);
+ tt.target()->drawBWRect(pipelineBuilder,
+ GrColor_WHITE,
+ viewMatrix,
+ renderRect);
x += renderRect.width() + kTestPad;
}
y += renderRect.height() + kTestPad;