diff options
author | rileya@google.com <rileya@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-07-10 20:05:23 +0000 |
---|---|---|
committer | rileya@google.com <rileya@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-07-10 20:05:23 +0000 |
commit | 6219728eec0819a2a28b4439d8553a70b9c232f6 (patch) | |
tree | a27aead02c0c1d096f78859041d94b1754e0d76b /src/gpu/effects | |
parent | a4091ba864207fc3750bbd722edbdd8a94230b0e (diff) |
Added pdf implementation of conical gradient.
Also fixed an erroneous comment in the gpu implementation.
Review URL: https://codereview.appspot.com/6351076
git-svn-id: http://skia.googlecode.com/svn/trunk@4520 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/effects')
-rw-r--r-- | src/gpu/effects/GrGradientEffects.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/effects/GrGradientEffects.cpp b/src/gpu/effects/GrGradientEffects.cpp index b1d11383dc..9d7596574b 100644 --- a/src/gpu/effects/GrGradientEffects.cpp +++ b/src/gpu/effects/GrGradientEffects.cpp @@ -451,7 +451,7 @@ void GrGLConical2Gradient::emitFS(GrGLShaderBuilder* state, SkString r1Name("r1"); SkString tName("t"); SkString p0; // 4a - SkString p1; // 1/(2a) + SkString p1; // 1/a SkString p2; // distance between centers SkString p3; // start radius SkString p4; // start radius squared |