Allow unsafe code
This commit is contained in:
parent
e82ce8d93c
commit
096bcd8988
2 changed files with 4 additions and 2 deletions
|
|
@ -173,6 +173,7 @@ impl Window {
|
|||
#[cfg(target_os = "windows")]
|
||||
{
|
||||
use winit::platform::windows::WindowBuilderExtWindows;
|
||||
#[allow(unsafe_code)]
|
||||
unsafe {
|
||||
window_builder = window_builder
|
||||
.with_parent_window(self.platform_specific.parent);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue