Allow unsafe code

This commit is contained in:
Nico Burns 2023-05-11 19:36:22 +01:00
parent e82ce8d93c
commit 096bcd8988
2 changed files with 4 additions and 2 deletions

View file

@ -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);