mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-23 22:01:31 +11:00
Make platform data function as unsafe.
This commit is contained in:
parent
5693fbcce3
commit
21e3ff99fa
|
@ -346,7 +346,7 @@ impl Window {
|
|||
/// This is typically only required when integrating with
|
||||
/// other libraries that need this information.
|
||||
#[inline]
|
||||
pub fn platform_display(&self) -> *mut libc::c_void {
|
||||
pub unsafe fn platform_display(&self) -> *mut libc::c_void {
|
||||
self.window.platform_display()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue