mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2024-11-21 22:34:43 +00:00
Remove windows specific dnd disable (#2474)
This commit is contained in:
parent
7b17d590a7
commit
c90c6e87c4
@ -51,13 +51,6 @@ impl VulkanoWindows {
|
|||||||
window_descriptor: &WindowDescriptor,
|
window_descriptor: &WindowDescriptor,
|
||||||
swapchain_create_info_modify: fn(&mut SwapchainCreateInfo),
|
swapchain_create_info_modify: fn(&mut SwapchainCreateInfo),
|
||||||
) -> winit::window::WindowId {
|
) -> 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();
|
let mut winit_window_builder = winit::window::WindowBuilder::new();
|
||||||
|
|
||||||
winit_window_builder = match window_descriptor.mode {
|
winit_window_builder = match window_descriptor.mode {
|
||||||
|
Loading…
Reference in New Issue
Block a user