From da74687be5426bfe3c6e8a1030522ac5e4f02c83 Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Wed, 20 Oct 2021 09:51:21 +0200 Subject: [PATCH] egui-winit: fix windows compilation with use WindowBuilderExtWindows Closes https://github.com/emilk/egui/pull/821 --- egui-winit/src/epi.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/egui-winit/src/epi.rs b/egui-winit/src/epi.rs index 9106537c5..27511c2a6 100644 --- a/egui-winit/src/epi.rs +++ b/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) }