1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-29 04:40:03 -04:00

Enable egui_glow's winit feature on wasm (#4420) (#4421)

Reverts change in #1303, enabling the egui_glow::winit module when using
wasm.

* Closes <https://github.com/emilk/egui/issues/4420>
This commit is contained in:
Simon Frankau
2024-04-29 09:33:23 +01:00
committed by GitHub
parent 0bc59f578b
commit c1fc9213c3
2 changed files with 3 additions and 3 deletions

View File

@@ -21,9 +21,9 @@ mod vao;
pub use shader_version::ShaderVersion;
#[cfg(all(not(target_arch = "wasm32"), feature = "winit"))]
#[cfg(feature = "winit")]
pub mod winit;
#[cfg(all(not(target_arch = "wasm32"), feature = "winit"))]
#[cfg(feature = "winit")]
pub use winit::*;
/// Check for OpenGL error and report it using `log::error`.