Commit 4341b71d authored by Peng Huang's avatar Peng Huang Committed by Commit Bot

SkiaRenderer: fix vulkan rendering issue.

Bug: None
Change-Id: If5fc6dcdc8f5a24a5b34f9b2811f48fdd55a77aa
Reviewed-on: https://chromium-review.googlesource.com/c/1349675Reviewed-by: default avatarweiliangc <weiliangc@chromium.org>
Commit-Queue: Peng Huang <penghuang@chromium.org>
Cr-Commit-Position: refs/heads/master@{#610661}
parent e36cc582
......@@ -374,7 +374,7 @@ sk_sp<SkImage> SkiaOutputSurfaceImpl::MakePromiseSkImage(
*metadata.backend_format.getGLTarget());
} else {
#if BUILDFLAG(ENABLE_VULKAN)
metadata.backend_format = GrBackendFormat::MakeVk(
metadata.driver_backend_format = GrBackendFormat::MakeVk(
gfx::SkColorTypeToVkFormat(metadata.color_type));
#else
NOTREACHED();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment