mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 06:43:32 +00:00
Bug 1918739 - Update doc comment for wgpu_server_instance_request_adapter
. r=webgpu-reviewers,ErichDonGubler
Differential Revision: https://phabricator.services.mozilla.com/D225188
This commit is contained in:
parent
55abcb2995
commit
29021a05f3
@ -160,14 +160,8 @@ pub struct FfiLUID {
|
||||
}
|
||||
|
||||
/// Request an adapter according to the specified options.
|
||||
/// Provide the list of IDs to pick from.
|
||||
///
|
||||
/// Returns the index in this list, or -1 if unable to pick.
|
||||
///
|
||||
/// # Safety
|
||||
///
|
||||
/// This function is unsafe as there is no guarantee that the given pointer is
|
||||
/// valid for `id_length` elements.
|
||||
/// Returns true if we successfully found an adapter.
|
||||
#[allow(unused_variables)]
|
||||
#[no_mangle]
|
||||
pub unsafe extern "C" fn wgpu_server_instance_request_adapter(
|
||||
|
Loading…
Reference in New Issue
Block a user