From 7c3da2ec1c12c8c16b04d89b7aec5e04cd2ff3be Mon Sep 17 00:00:00 2001 From: Divy Srivastava Date: Mon, 14 Oct 2024 11:10:27 +0530 Subject: 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 --- ext/webgpu/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/webgpu') 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:: $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" ))] -- cgit v1.2.3