Fixed merge error in r4545

git-svn-id: http://skia.googlecode.com/svn/trunk@4546 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
robertphillips@google.com 2012-07-11 18:25:24 +00:00
parent 3e11c0bd92
commit bca1c5de48

View File

@ -1438,7 +1438,9 @@ void apply_custom_stage(GrContext* context,
GrAutoMatrix avm(context, GrMatrix::I());
GrContext::AutoRenderTarget art(context, dstTexture->asRenderTarget());
GrClip oldClip = context->getClip();
context->setClip(rect);
GrClip newClip(rect);
context->setClip(newClip);
GrMatrix sampleM;
sampleM.setIDiv(srcTexture->width(), srcTexture->height());