DescriptionFix 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
Committed: https://skia.googlesource.com/skia/+/3ab14ca950d98a5c4d4c4a5f96ea8b0c984e0116
Patch Set 1 #
Messages
Total messages: 13 (11 generated)
|