mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-27 16:49:39 +01:00
Disable gfx-backend-gl on macOS
This commit is contained in:
1 parent
dd31c924df
commit
162cd6bd86
4 files changed
+5
-5
No files matched your search
@@ -239,7 +239,7 @@ macro_rules! gfx_select {
|
||||
wgt::Backend::Dx12 => $global.$method::<$crate::backend::Dx12>( $($param),* ),
|
||||
#[cfg(windows)]
|
||||
wgt::Backend::Dx11 => $global.$method::<$crate::backend::Dx11>( $($param),* ),
|
||||
#[cfg(all(unix, not(target_os = "ios")))]
|
||||
#[cfg(all(unix, not(any(target_os = "ios", target_os = "macos"))))]
|
||||
wgt::Backend::Gl => $global.$method::<$crate::backend::Gl>( $($param),+ ),
|
||||
other => panic!("Unexpected backend {:?}", other),
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user