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:
jvanverth@google.com 2013-04-18 14:48:35 +00:00
parent f738cf0689
commit cabd0ed14f

View File

@ -265,6 +265,9 @@ protected:
canvas->drawRect(oval, rectPaint);
canvas->drawOval(oval, fPaints[i]);
fPaints[i].setShader(NULL);
canvas->restore();
}
}