Fix for r9609
git-svn-id: http://skia.googlecode.com/svn/trunk@9618 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
be19b9ef9a
commit
07a052484f
@ -70,8 +70,8 @@ public:
|
||||
// For rects < 1 pixel wide or tall, these scale factors are used to cap the maximum
|
||||
// value of coverage that is used. In other words it is the coverage that is
|
||||
// used in the interior of the rect after the ramp.
|
||||
builder->fsCodeAppend("\tfloat scaleW = min(1.0, 2*insetW/spanW);\n");
|
||||
builder->fsCodeAppend("\tfloat scaleH = min(1.0, 2*insetH/spanH);\n");
|
||||
builder->fsCodeAppend("\tfloat scaleW = min(1.0, 2.0*insetW/spanW);\n");
|
||||
builder->fsCodeAppend("\tfloat scaleH = min(1.0, 2.0*insetH/spanH);\n");
|
||||
|
||||
// Compute the coverage for the rect's width
|
||||
builder->fsCodeAppendf(
|
||||
|
Loading…
Reference in New Issue
Block a user