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:
parent
3e11c0bd92
commit
bca1c5de48
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user