aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/ops/GrCopySurfaceOp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/ops/GrCopySurfaceOp.cpp')
-rw-r--r--src/gpu/ops/GrCopySurfaceOp.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gpu/ops/GrCopySurfaceOp.cpp b/src/gpu/ops/GrCopySurfaceOp.cpp
index ad6fec988e..39991d35dc 100644
--- a/src/gpu/ops/GrCopySurfaceOp.cpp
+++ b/src/gpu/ops/GrCopySurfaceOp.cpp
@@ -85,5 +85,6 @@ void GrCopySurfaceOp::onExecute(GrOpFlushState* state) {
return;
}
- state->commandBuffer()->copy(fSrc.get()->priv().peekSurface(), fSrcRect, fDstPoint);
+ state->commandBuffer()->copy(fSrc.get()->priv().peekSurface(), fSrc.get()->origin(),
+ fSrcRect, fDstPoint);
}