aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrTextContext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/GrTextContext.cpp')
-rw-r--r--src/gpu/GrTextContext.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gpu/GrTextContext.cpp b/src/gpu/GrTextContext.cpp
index 36e6646307..ab04bb48f5 100644
--- a/src/gpu/GrTextContext.cpp
+++ b/src/gpu/GrTextContext.cpp
@@ -88,6 +88,8 @@ GrTextContext::GrTextContext(GrContext* context,
const GrClipData* clipData = context->getClip();
GrRect conservativeBound = clipData->fClipStack->getConservativeBounds();
+ conservativeBound.offset(SkIntToScalar(-clipData->fOrigin.fX),
+ SkIntToScalar(-clipData->fOrigin.fY));
if (!fExtMatrix.isIdentity()) {
GrMatrix inverse;