Skip to content

Commit

Permalink
Update to use new vulkan GrBackendRenderTarget ctor. (flutter#4962)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
egdaniel authored and brianosman committed Apr 10, 2018
1 parent 0c8993a commit 5ff5272
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content_handler/vulkan_surface.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 5ff5272

Please sign in to comment.