Skip to content

Commit

Permalink
fix: ExternalImageSource only exists in web
Browse files Browse the repository at this point in the history
  • Loading branch information
MendyBerger committed Oct 14, 2024
1 parent 7f55585 commit e1a236d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wgpu-types/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6516,13 +6516,13 @@ impl std::ops::Deref for ExternalImageSource {
}

#[cfg(all(
target_arch = "wasm32",
feature = "web",
feature = "fragile-send-sync-non-atomic-wasm",
not(target_feature = "atomics")
))]
unsafe impl Send for ExternalImageSource {}
#[cfg(all(
target_arch = "wasm32",
feature = "web",
feature = "fragile-send-sync-non-atomic-wasm",
not(target_feature = "atomics")
))]
Expand Down

0 comments on commit e1a236d

Please sign in to comment.