From: robertphillips@google.com Date: Thu, 18 Oct 2012 00:17:53 +0000 (+0000) Subject: Attempt to patch GR_STATIC_RECT_VB path X-Git-Tag: accepted/tizen/5.0/unified/20181102.025319~14544 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ee0b693532b713736cc89a6dfa333e893c98d912;p=platform%2Fupstream%2FlibSkiaSharp.git Attempt to patch GR_STATIC_RECT_VB path git-svn-id: http://skia.googlecode.com/svn/trunk@5988 2bbb7eff-a529-9590-31e7-b0007b416f81 --- diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp index 3501c2a..63e5c2c 100644 --- a/src/gpu/GrContext.cpp +++ b/src/gpu/GrContext.cpp @@ -858,7 +858,8 @@ void GrContext::drawRectToRect(const GrPaint& paint, if (NULL != srcMatrix) { m.postConcat(*srcMatrix); } - drawState->sampler(GrPaint::kFirstColorStage)->preConcatMatrix(m); + + drawState->sampler(GrPaint::kFirstColorStage)->preConcatCoordChange(m); const GrVertexBuffer* sqVB = fGpu->getUnitSquareVertexBuffer(); if (NULL == sqVB) {