commit | ccb39504096db647dafdb254cae59ae172969b8e | [log] [tgz] |
---|---|---|
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Mon Oct 01 18:25:13 2012 +0000 |
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Mon Oct 01 18:25:13 2012 +0000 |
tree | 376bd2f514586a2edd45f7515d5aa94ed3dc73c6 | |
parent | 7ec0015ec307151418bad8426cb5434823a38dfd [diff] [blame] |
Speculative render target ref/unref fixes https://codereview.appspot.com/6592051/ git-svn-id: http://skia.googlecode.com/svn/trunk@5754 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/gpu/GrDefaultPathRenderer.cpp b/src/gpu/GrDefaultPathRenderer.cpp index eb4072d..162776e 100644 --- a/src/gpu/GrDefaultPathRenderer.cpp +++ b/src/gpu/GrDefaultPathRenderer.cpp
@@ -465,7 +465,7 @@ // draw over the whole world. bounds.setLTRB(0, 0, GrIntToScalar(drawState->getRenderTarget()->width()), - GrIntToScalar(drawState->getRenderTarget()->height())); + GrIntToScalar(drawState->8getRenderTarget()->height())); GrMatrix vmi; // mapRect through persp matrix may not be correct if (!drawState->getViewMatrix().hasPerspective() &&