Fix EGLImageTest asserts on Android

Bug: skia:7580
Change-Id: Ifb7727bead43aecfcfae6a6f42ea38434110a99c
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/223195
Commit-Queue: Brian Salomon <bsalomon@google.com>
Commit-Queue: Greg Daniel <egdaniel@google.com>
Auto-Submit: Brian Salomon <bsalomon@google.com>
Reviewed-by: Greg Daniel <egdaniel@google.com>
This commit is contained in:
Brian Salomon 2019-06-24 14:28:23 -04:00
parent d8f79a27b0
commit bd0d3e4bce

View File

@ -80,7 +80,7 @@ void test_copy_from_surface(skiatest::Reporter* reporter, GrContext* context,
SkASSERT(dstProxy);
sk_sp<GrSurfaceContext> dstContext =
context->priv().makeWrappedSurfaceContext(std::move(dstProxy), kUnknown_SkAlphaType);
context->priv().makeWrappedSurfaceContext(std::move(dstProxy), kPremul_SkAlphaType);
SkASSERT(dstContext.get());
test_read_pixels(reporter, dstContext.get(), expectedPixelValues, testName);