From 5fba7ad39a96d02c8a23cc20e47c5021b6a85baa Mon Sep 17 00:00:00 2001 From: Brian Salomon Date: Thu, 22 Mar 2018 10:01:16 -0400 Subject: Support GL_RGB textures and render targets. Bug= skia:7533 Change-Id: Iba30e90dbf2574368b773bb5cf2ebd5219559717 Reviewed-on: https://skia-review.googlesource.com/108188 Commit-Queue: Brian Salomon Reviewed-by: Robert Phillips --- tests/PackedConfigsTextureTest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/PackedConfigsTextureTest.cpp') 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, -- cgit v1.2.3