mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 15:04:11 -05:00
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
This commit is contained in:
parent
64c304a452
commit
7c3da2ec1c
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ mod macros {
|
||||||
#[cfg(all(not(target_arch = "wasm32"), windows))]
|
#[cfg(all(not(target_arch = "wasm32"), windows))]
|
||||||
wgpu_types::Backend::Dx12 => $($c)*.$method::<wgpu_core::api::Dx12> $params,
|
wgpu_types::Backend::Dx12 => $($c)*.$method::<wgpu_core::api::Dx12> $params,
|
||||||
#[cfg(any(
|
#[cfg(any(
|
||||||
all(unix, not(target_os = "macos"), not(target_os = "ios")),
|
all(not(target_os = "macos"), not(target_os = "ios")),
|
||||||
feature = "angle",
|
feature = "angle",
|
||||||
target_arch = "wasm32"
|
target_arch = "wasm32"
|
||||||
))]
|
))]
|
||||||
|
|
Loading…
Reference in a new issue