From c90c6e87c436a133989981109da11461e3abd8df Mon Sep 17 00:00:00 2001 From: Okko Hakola Date: Tue, 20 Feb 2024 14:23:30 +0200 Subject: [PATCH] Remove windows specific dnd disable (#2474) --- vulkano-util/src/window.rs | 7 ------- 1 file changed, 7 deletions(-) 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 {