This repository was archived by the owner on Feb 25, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
impeller/renderer/backend/vulkan/swapchain Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ bool AHBSwapchainVK::IsAvailableOnPlatform() {
1919
2020AHBSwapchainVK::AHBSwapchainVK (const std::shared_ptr<Context>& context,
2121 ANativeWindow* window,
22- vk::UniqueSurfaceKHR surface,
22+ const vk::UniqueSurfaceKHR& surface,
2323 const ISize& size,
2424 bool enable_msaa)
2525 : context_(context),
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ class AHBSwapchainVK final : public SwapchainVK {
5757
5858 explicit AHBSwapchainVK (const std::shared_ptr<Context>& context,
5959 ANativeWindow* window,
60- vk::UniqueSurfaceKHR surface,
60+ const vk::UniqueSurfaceKHR& surface,
6161 const ISize& size,
6262 bool enable_msaa);
6363};
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ std::shared_ptr<SwapchainVK> SwapchainVK::Create(
6767 auto ahb_swapchain = std::shared_ptr<AHBSwapchainVK>(new AHBSwapchainVK (
6868 context, //
6969 window.GetHandle (), //
70- std::move ( surface), //
70+ surface, //
7171 window.GetSize (), //
7272 enable_msaa //
7373 ));
You can’t perform that action at this time.
0 commit comments