Skip to content

Commit

Permalink
Merge pull request #41 from pdiaz/main
Browse files Browse the repository at this point in the history
Implement dummy case for macOS to ensure that examples run using metal
  • Loading branch information
shiinamiyuki authored Sep 17, 2024
2 parents c079e86 + b6bccb5 commit c3e42ea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions luisa_compute/src/runtime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,7 @@ impl Device {
}
raw_window_handle::RawDisplayHandle::Wayland(h) => h.display.as_ptr() as u64,
raw_window_handle::RawDisplayHandle::Windows(_h) => 0u64,
raw_window_handle::RawDisplayHandle::AppKit(_h) => 0,
_ => todo!(),
};
self.create_swapchain_raw_handle(
Expand Down

0 comments on commit c3e42ea

Please sign in to comment.