Make platform data function as unsafe.
This commit is contained in:
parent
5693fbcce3
commit
21e3ff99fa
1 changed files with 1 additions and 1 deletions
|
|
@ -346,7 +346,7 @@ impl Window {
|
||||||
/// This is typically only required when integrating with
|
/// This is typically only required when integrating with
|
||||||
/// other libraries that need this information.
|
/// other libraries that need this information.
|
||||||
#[inline]
|
#[inline]
|
||||||
pub fn platform_display(&self) -> *mut libc::c_void {
|
pub unsafe fn platform_display(&self) -> *mut libc::c_void {
|
||||||
self.window.platform_display()
|
self.window.platform_display()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue