mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-21 22:33:49 +00:00
Fix return value
This commit is contained in:
parent
4f513a3529
commit
ed01eb04ad
@ -32,8 +32,11 @@ fn create_instance() -> InstanceHandle {
|
||||
let inst = ::back::Instance::create("wgpu", 1);
|
||||
InstanceHandle::new(inst)
|
||||
}
|
||||
#[cfg(not(any(feature = "gfx-backend-vulkan", feature = "gfx-backend-dx12", feature = "gfx-backend-metal")))]
|
||||
{
|
||||
unimplemented!()
|
||||
}
|
||||
}
|
||||
|
||||
pub extern "C"
|
||||
fn instance_get_adapter(
|
||||
|
Loading…
Reference in New Issue
Block a user