From 548f3867d442c038c8b7eb1e8ffe332ce2757836 Mon Sep 17 00:00:00 2001 From: Rekai Musuka Date: Fri, 9 Jul 2021 17:25:38 -0500 Subject: [PATCH] chore(main): remove windows-specific code --- src/main.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 591b7f6..3b57b19 100644 --- a/src/main.rs +++ b/src/main.rs @@ -8,7 +8,6 @@ use std::time::Instant; use winit::dpi::LogicalSize; use winit::event::{Event, VirtualKeyCode}; use winit::event_loop::{ControlFlow, EventLoop}; -use winit::platform::windows::WindowBuilderExtWindows; use winit::window::{Window, WindowBuilder}; use winit_input_helper::WinitInputHelper; @@ -150,6 +149,6 @@ fn create_window(event_loop: &EventLoop<()>, title: &str) -> Result { .with_resizable(true) .with_decorations(true) .with_transparent(false) - .with_drag_and_drop(false) // OleInitialize failed error if this is set to true + // .with_drag_and_drop(false) // OleInitialize failed error if this is set to true .build(event_loop)?) }