提交 5ff52729 编写于 作者: E egdaniel 提交者: Brian Osman

Update to use new vulkan GrBackendRenderTarget ctor. (#4962)

This moves to the new skia ctor for vulkan GrBackendRenderTarget which doesn't take a stencil count since vulkan doesn't bind stencil and render target together like GL does with framebuffer so it is not needed.
上级 0c8993a1
......@@ -278,7 +278,7 @@ bool VulkanSurface::SetupSkiaSurface(sk_sp<GrContext> context,
.fLevelCount = image_create_info.mipLevels,
};
GrBackendRenderTarget sk_render_target(size.width(), size.height(), 0, 0,
GrBackendRenderTarget sk_render_target(size.width(), size.height(), 0,
image_info);
SkSurfaceProps sk_surface_props(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册