mirror of
https://github.com/emilk/egui.git
synced 2026-09-01 14:20:04 -04:00
Update to winit 0.29 (#3649)
* Closes https://github.com/emilk/egui/issues/3542 * Closes https://github.com/emilk/egui/issues/2977 * Closes https://github.com/emilk/egui/issues/3303 --------- Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>
This commit is contained in:
@@ -325,6 +325,11 @@ pub enum Error {
|
||||
#[error("winit error: {0}")]
|
||||
Winit(#[from] winit::error::OsError),
|
||||
|
||||
/// An error from [`winit::event_loop::EventLoop`].
|
||||
#[cfg(not(target_arch = "wasm32"))]
|
||||
#[error("winit EventLoopError: {0}")]
|
||||
WinitEventLoop(#[from] winit::error::EventLoopError),
|
||||
|
||||
/// An error from [`glutin`] when using [`glow`].
|
||||
#[cfg(all(feature = "glow", not(target_arch = "wasm32")))]
|
||||
#[error("glutin error: {0}")]
|
||||
|
||||
Reference in New Issue
Block a user