diff options
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-10-18 00:17:53 +0000 |
---|---|---|
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-10-18 00:17:53 +0000 |
commit | ee0b693532b713736cc89a6dfa333e893c98d912 (patch) | |
tree | a8fb8c12adf3ca884f89024e2b96a02d6d4469ab | |
parent | c0e88e0d5d1260f81e7f6b66eeabfb25e6b95a4d (diff) |
Attempt to patch GR_STATIC_RECT_VB path
git-svn-id: http://skia.googlecode.com/svn/trunk@5988 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r-- | src/gpu/GrContext.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp index 3501c2a69a..63e5c2c1fc 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) { |