aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrSoftwarePathRenderer.cpp
diff options
context:
space:
mode:
authorGravatar joshualitt <joshualitt@chromium.org>2015-07-09 12:17:44 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-07-09 12:17:44 -0700
commit4f6dc521f5082a65f42be8a333afe3bbda4ec400 (patch)
tree815ac26cc33482473f7adc9ecd18419cc2723ffc /src/gpu/GrSoftwarePathRenderer.cpp
parent1c84634454aa78fb26f23875b86a243aa4596c59 (diff)
Trivial cleanup of copying GrPipelineBuilder
TBR=robertphillips@google.com BUG=skia: Review URL: https://codereview.chromium.org/1229983003
Diffstat (limited to 'src/gpu/GrSoftwarePathRenderer.cpp')
-rw-r--r--src/gpu/GrSoftwarePathRenderer.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gpu/GrSoftwarePathRenderer.cpp b/src/gpu/GrSoftwarePathRenderer.cpp
index d9b58a83ec..3d5bc3e656 100644
--- a/src/gpu/GrSoftwarePathRenderer.cpp
+++ b/src/gpu/GrSoftwarePathRenderer.cpp
@@ -146,8 +146,7 @@ bool GrSoftwarePathRenderer::onDrawPath(GrDrawTarget* target,
return false;
}
- GrPipelineBuilder copy = *pipelineBuilder;
- GrSWMaskHelper::DrawToTargetWithPathMask(texture, target, &copy, color, viewMatrix,
+ GrSWMaskHelper::DrawToTargetWithPathMask(texture, target, pipelineBuilder, color, viewMatrix,
devPathBounds);
if (path.isInverseFillType()) {