Skip to content

Commit

Permalink
Change get_metal_layer() visiability to pub(crate)
Browse files Browse the repository at this point in the history
  • Loading branch information
jinleili authored and jimblandy committed Nov 9, 2022
1 parent 08b160c commit 04d12ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wgpu-hal/src/metal/surface.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ impl super::Surface {
}

/// If not called on the main thread, this will panic.
pub unsafe fn get_metal_layer(
pub(crate) unsafe fn get_metal_layer(
view: *mut Object,
delegate: Option<&HalManagedMetalLayerDelegate>,
) -> *mut Object {
Expand Down

0 comments on commit 04d12ba

Please sign in to comment.