commit | 35d50eefbb19d6feb116cd3b0b776e22f8a02eb0 | [log] [tgz] |
---|---|---|
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Tue May 01 17:25:37 2012 +0000 |
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Tue May 01 17:25:37 2012 +0000 |
tree | d0bd27cbbcfe5add5f3b719c76fbb8ab0e9fd7db | |
parent | a72eef322c686954cdffa849dc26d8133b802f1d [diff] [blame] |
Moved SW path rendering to new texture unit http://codereview.appspot.com/6138057/ git-svn-id: http://skia.googlecode.com/svn/trunk@3813 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/gpu/GrSoftwarePathRenderer.cpp b/src/gpu/GrSoftwarePathRenderer.cpp index 6780e0f..84dd836 100644 --- a/src/gpu/GrSoftwarePathRenderer.cpp +++ b/src/gpu/GrSoftwarePathRenderer.cpp
@@ -228,7 +228,7 @@ GrAssert(NULL != texture); GrDrawTarget::AutoDeviceCoordDraw adcd(target, stageMask); enum { - kPathMaskStage = GrPaint::kTotalStages, + kPathMaskStage = GrPaint::kTotalStages+1, }; target->drawState()->setTexture(kPathMaskStage, texture); target->drawState()->sampler(kPathMaskStage)->reset();