Disable gfx-backend-gl on macOS

This commit is contained in:
lordnoriyuki committed 2020-11-28 16:11:16 -08:00
1 parent dd31c924df
commit 162cd6bd86
4 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -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),
}