diff options
author | Divy Srivastava <dj.srivastava23@gmail.com> | 2024-10-14 11:10:27 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-14 11:10:27 +0530 |
commit | 7c3da2ec1c12c8c16b04d89b7aec5e04cd2ff3be (patch) | |
tree | 62a81460e4e20da18c0ea019e6f01b8f19994579 /ext/webgpu | |
parent | 64c304a45265705832ebb4ab4e9ef19f899ac911 (diff) |
fix(ext/webgpu): allow GL backend on Windows (#26206)
It should be supported according to
[this](https://github.com/gfx-rs/wgpu?tab=readme-ov-file#supported-platforms).
Fixes https://github.com/denoland/deno/issues/26144
Diffstat (limited to 'ext/webgpu')
-rw-r--r-- | ext/webgpu/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/webgpu/lib.rs b/ext/webgpu/lib.rs index df2ab323a..9cf4ca914 100644 --- a/ext/webgpu/lib.rs +++ b/ext/webgpu/lib.rs @@ -44,7 +44,7 @@ mod macros { #[cfg(all(not(target_arch = "wasm32"), windows))] wgpu_types::Backend::Dx12 => $($c)*.$method::<wgpu_core::api::Dx12> $params, #[cfg(any( - all(unix, not(target_os = "macos"), not(target_os = "ios")), + all(not(target_os = "macos"), not(target_os = "ios")), feature = "angle", target_arch = "wasm32" ))] |