Skip to content

Commit 267826c

Browse files
rphilliSkia Commit-Bot
authored andcommitted
Disable both preservefillrule _big and _little for the *ooprddl configs
Change-Id: I8e61bac53dcc6344b766ff60a94c9fae15d1508f Reviewed-on: https://skia-review.googlesource.com/c/skia/+/333485 Reviewed-by: Brian Salomon <[email protected]> Commit-Queue: Robert Phillips <[email protected]>
1 parent 624f3f7 commit 267826c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

gm/preservefillrule.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,10 @@ class PreserveFillRuleGM : public GpuGM {
8282
}
8383

8484
auto dContext = GrAsDirectContext(rContext);
85+
if (!dContext) {
86+
*errorMsg = "Requires a direct context.";
87+
return skiagm::DrawResult::kSkip;
88+
}
8589

8690
auto starRect = SkRect::MakeWH(fStarSize, fStarSize);
8791
SkPath star7_winding = ToolUtils::make_star(starRect, 7);

0 commit comments

Comments
 (0)