diff options
author | robertphillips <robertphillips@google.com> | 2016-07-10 11:49:39 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-07-10 11:49:39 -0700 |
commit | 3ab14ca950d98a5c4d4c4a5f96ea8b0c984e0116 (patch) | |
tree | f32e92ce078ee227f20ba865d6e04472bf0b2bb5 /gm/arcto.cpp | |
parent | 6092b6e0e57be20d2e1ad079c0af133d2f67bfd3 (diff) |
Fix misplaced guard
This fixes an error in https://codereview.chromium.org/2125333002 (Add choke point for modifying non-AA rect draws (e.g., applying clipping)).
In GrDrawContext::drawRect, when we need to draw a filled rect, we always want to call drawFilledRect when useDrawInsteadOfClear is false. With the buggy code I believe we were falling back to drawing a path.
TBR=bsalomon@google.com
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2135883002
Review-Url: https://codereview.chromium.org/2135883002
Diffstat (limited to 'gm/arcto.cpp')
0 files changed, 0 insertions, 0 deletions