Fix return value

This commit is contained in:
grovesNL 2018-09-15 11:07:19 -06:00
parent 4f513a3529
commit ed01eb04ad

View File

@ -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(