Reset shader in ovals GM
Not resetting the shader for the paints produces interesting results on the following configs... Review URL: https://codereview.chromium.org/13947042/ git-svn-id: http://skia.googlecode.com/svn/trunk@8740 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
f738cf0689
commit
cabd0ed14f
@ -265,6 +265,9 @@ protected:
|
||||
|
||||
canvas->drawRect(oval, rectPaint);
|
||||
canvas->drawOval(oval, fPaints[i]);
|
||||
|
||||
fPaints[i].setShader(NULL);
|
||||
|
||||
canvas->restore();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user