Browse Source

egui-winit: fix windows compilation with use WindowBuilderExtWindows

Closes https://github.com/emilk/egui/pull/821
pull/779/head
Emil Ernerfeldt 3 years ago
parent
commit
da74687be5
  1. 1
      egui-winit/src/epi.rs

1
egui-winit/src/epi.rs

@ -38,6 +38,7 @@ fn window_builder_drag_and_drop(
window_builder: winit::window::WindowBuilder,
enable: bool,
) -> winit::window::WindowBuilder {
use winit::platform::windows::WindowBuilderExtWindows as _;
window_builder.with_drag_and_drop(enable)
}

Loading…
Cancel
Save