commit | d3baf20dd1de9940717dd50b5c9ff6061561342e | [log] [tgz] |
---|---|---|
author | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Nov 07 22:06:08 2013 +0000 |
committer | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Nov 07 22:06:08 2013 +0000 |
tree | ae0f7b376e67362e4e20cf3a6edc5309dc48b9b5 | |
parent | 5e4d9819dbcbfbbdbd2ad2840b9c1b2b01c98db1 [diff] [blame] |
Added support for Chrome's gpu command buffer extension BindUniformLocation. R=bsalomon@google.com, bsalomon Author: skaslev@chromium.org Review URL: https://codereview.chromium.org/62163004 git-svn-id: http://skia.googlecode.com/svn/trunk@12178 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/effects/gradients/SkTwoPointRadialGradient.cpp b/src/effects/gradients/SkTwoPointRadialGradient.cpp index 923ed1e..207f3db 100644 --- a/src/effects/gradients/SkTwoPointRadialGradient.cpp +++ b/src/effects/gradients/SkTwoPointRadialGradient.cpp
@@ -638,7 +638,7 @@ data.isPosRoot() ? 1.f : -1.f }; - uman.set1fv(fParamUni, 0, 6, values); + uman.set1fv(fParamUni, 6, values); fCachedCenter = centerX1; fCachedRadius = radius0; fCachedPosRoot = data.isPosRoot();