diff options
Diffstat (limited to 'tests/skbug6653.cpp')
-rw-r--r-- | tests/skbug6653.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/skbug6653.cpp b/tests/skbug6653.cpp index eaf166c3e3..d200e14f4c 100644 --- a/tests/skbug6653.cpp +++ b/tests/skbug6653.cpp @@ -49,6 +49,10 @@ DEF_GPUTEST_FOR_RENDERING_CONTEXTS(skbug6653, reporter, ctxInfo) { for (int i = 0; i < kNumIterations; ++i) { auto s0 = make_surface(ctx); + if (!s0) { + // MSAA may not be supported + return; + } auto s1 = make_surface(ctx); s1->getCanvas()->clear(SK_ColorBLACK); |