diff options
Diffstat (limited to 'tests/PackedConfigsTextureTest.cpp')
-rw-r--r-- | tests/PackedConfigsTextureTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/PackedConfigsTextureTest.cpp b/tests/PackedConfigsTextureTest.cpp index 5f18ef3d57..adc8a3de7c 100644 --- a/tests/PackedConfigsTextureTest.cpp +++ b/tests/PackedConfigsTextureTest.cpp @@ -109,8 +109,8 @@ static void run_test(skiatest::Reporter* reporter, GrContext* context, int array controlPixelData[i + 1] = 0xFA62; } - const SkImageInfo dstInfo = SkImageInfo::Make(DEV_W, DEV_H, - kRGBA_8888_SkColorType, kOpaque_SkAlphaType); + const SkImageInfo dstInfo = + SkImageInfo::Make(DEV_W, DEV_H, kRGBA_8888_SkColorType, kPremul_SkAlphaType); for (auto origin : { kTopLeft_GrSurfaceOrigin, kBottomLeft_GrSurfaceOrigin }) { auto proxy = sk_gpu_test::MakeTextureProxyFromData(context, false, DEV_W, DEV_H, |