window_builder hook no longer exposes winit WindowBuilder #3853
Labels
eframe
Relates to epi and eframe
egui-winit
porblems related to winit
feature
New feature or request
The window_builder hook was initially implemented in #3390 to allow directly configuring the winit windowbuilder.
#3172 removed this feature, and instead implemented specific support for only one particular winit NativeExt use for macos:
egui/crates/eframe/src/epi/mod.rs
Lines 41 to 47 in 83aa310
egui/crates/egui-winit/src/lib.rs
Lines 1565 to 1570 in d319489
The window_builder hook no longer matches its documentation, and now modifies the Viewportbuilder which was already available as the
viewport
field ofNativeOptions
.window_builder should be reverted to take a winit WindowBuilder as its argument so native winit WindowBuilder extension can be used. It doesn't make sense for it to take ViewportBuilder as an argument.
The text was updated successfully, but these errors were encountered: