Skip to content

Commit 04d12ba

Browse files
jinleilijimblandy
authored andcommitted
Change get_metal_layer() visiability to pub(crate)
1 parent 08b160c commit 04d12ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wgpu-hal/src/metal/surface.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ impl super::Surface {
9898
}
9999

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

0 commit comments

Comments
 (0)