Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
++
  • Loading branch information
jonahwilliams committed Jan 31, 2024
commit 86e5c2e571a2cdb5b6bb80310798af288452c1b4
4 changes: 3 additions & 1 deletion impeller/renderer/backend/vulkan/swapchain_vk.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ class SwapchainVK {
ISize size_;
const bool enable_msaa_;

SwapchainVK(std::shared_ptr<SwapchainImplVK> impl, const ISize& size, bool enable_msaa);
SwapchainVK(std::shared_ptr<SwapchainImplVK> impl,
const ISize& size,
bool enable_msaa);

SwapchainVK(const SwapchainVK&) = delete;

Expand Down
3 changes: 2 additions & 1 deletion shell/testing/tester_main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@ bool ImpellerVulkanContextHolder::Initialize(bool enable_validation) {

impeller::vk::UniqueSurfaceKHR surface{vk_surface, context->GetInstance()};
surface_context = context->CreateSurfaceContext();
if (!surface_context->SetWindowSurface(std::move(surface), impeller::ISize{1, 1})) {
if (!surface_context->SetWindowSurface(std::move(surface),
impeller::ISize{1, 1})) {
VALIDATION_LOG << "Could not set up surface for context.";
return false;
}
Expand Down