mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
Fix compile warnings when no features are selected
This commit is contained in:
@@ -34,7 +34,7 @@ mod track;
|
||||
pub use self::binding_model::*;
|
||||
pub use self::command::*;
|
||||
pub use self::device::*;
|
||||
#[cfg(feature = "remote")]
|
||||
#[cfg(not(feature = "local"))]
|
||||
pub use self::hub::{IdentityManager, Registry, HUB};
|
||||
pub use self::instance::*;
|
||||
pub use self::pipeline::*;
|
||||
|
||||
@@ -181,7 +181,7 @@ pub struct TextureDescriptor {
|
||||
|
||||
#[derive(Debug)]
|
||||
pub(crate) enum TexturePlacement<B: hal::Backend> {
|
||||
#[cfg_attr(feature = "remote", allow(unused))]
|
||||
#[cfg_attr(not(feature = "local"), allow(unused))]
|
||||
SwapChain(SwapChainLink<Mutex<SwapImageEpoch>>),
|
||||
Memory(MemoryBlock<B>),
|
||||
Void,
|
||||
|
||||
Reference in New Issue
Block a user