mirror of
https://github.com/emilk/egui.git
synced 2026-08-29 04:40:03 -04:00
Add winit window access to eframe::Frame and CreationContext (#8205)
* Related: https://github.com/emilk/egui/issues/7798
This commit is contained in:
@@ -314,6 +314,7 @@ impl<'app> GlowWinitApp<'app> {
|
||||
get_proc_address: Some(Arc::new(get_proc_address)),
|
||||
#[cfg(feature = "wgpu_no_default_features")]
|
||||
wgpu_render_state: None,
|
||||
window: Some(Arc::clone(&window)),
|
||||
raw_display_handle: window.display_handle().map(|h| h.as_raw()),
|
||||
raw_window_handle: window.window_handle().map(|h| h.as_raw()),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user