Skip to content

Commit

Permalink
Implement dummy case for macOS to ensure that examples run using metal
Browse files Browse the repository at this point in the history
pdiaz committed Sep 17, 2024
1 parent c079e86 commit b6bccb5
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
@@ -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(

0 comments on commit b6bccb5

Please sign in to comment.