diff --git a/vulkano-util/src/window.rs b/vulkano-util/src/window.rs index 338eccf5..76a7b303 100644 --- a/vulkano-util/src/window.rs +++ b/vulkano-util/src/window.rs @@ -51,13 +51,6 @@ impl VulkanoWindows { window_descriptor: &WindowDescriptor, swapchain_create_info_modify: fn(&mut SwapchainCreateInfo), ) -> winit::window::WindowId { - #[cfg(target_os = "windows")] - let mut winit_window_builder = { - use winit::platform::windows::WindowBuilderExtWindows; - winit::window::WindowBuilder::new().with_drag_and_drop(false) - }; - - #[cfg(not(target_os = "windows"))] let mut winit_window_builder = winit::window::WindowBuilder::new(); winit_window_builder = match window_descriptor.mode {