Attempt to patch GR_STATIC_RECT_VB path
authorrobertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 18 Oct 2012 00:17:53 +0000 (00:17 +0000)
committerrobertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 18 Oct 2012 00:17:53 +0000 (00:17 +0000)
git-svn-id: http://skia.googlecode.com/svn/trunk@5988 2bbb7eff-a529-9590-31e7-b0007b416f81

src/gpu/GrContext.cpp

index 3501c2a..63e5c2c 100644 (file)
@@ -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) {