Skip to content

Commit

Permalink
Hide swap chain call on non windows
Browse files Browse the repository at this point in the history
  • Loading branch information
DDRBoxman committed Oct 29, 2023
1 parent ceac834 commit 11ef3fe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cappy3ds_render/src/render.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ pub struct State {
}

impl State {
#[cfg(target_os = "windows")]
pub async fn new_from_swap_chain_panel(swap_chain_panel: *mut std::ffi::c_void) -> Self {
let instance = Self::create_instance();

Expand Down

0 comments on commit 11ef3fe

Please sign in to comment.