egui-winit: fix windows compilation with use WindowBuilderExtWindows
Closes https://github.com/emilk/egui/pull/821
This commit is contained in:
parent
8178d23d19
commit
da74687be5
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue