提交 77bc5438 编写于 作者: A Adam Barth 提交者: GitHub

Fix Fuchsia build (#4032)

上级 e5395796
......@@ -5,6 +5,7 @@
#include "flutter/content_handler/vulkan_surface.h"
#include "flutter/common/threads.h"
#include "third_party/skia/include/core/SkCanvas.h"
#include "third_party/skia/include/gpu/GrBackendSurface.h"
#include "third_party/skia/include/gpu/GrContext.h"
#include "third_party/skia/src/gpu/vk/GrVkImage.h"
......@@ -212,7 +213,7 @@ bool VulkanSurface::SetupSkiaSurface(sk_sp<GrContext> context,
auto sk_surface =
SkSurface::MakeFromBackendRenderTarget(context.get(), //
sk_render_target, //
kTopLeft_GrSurfaceOrigin //
kTopLeft_GrSurfaceOrigin, //
nullptr, //
&sk_surface_props //
);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册