mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 13:20:05 -04:00
This is required for Rust 1.72 (for unknown reasons; see https://github.com/emilk/egui/pull/3595), but also for updating to glow 0.13, where the `glow::Context` is not longer `Sync+Send`
egui_glow
This crates provides bindings between egui and glow which allows you to:
- Render egui using glow on both native and web.
- Write cross platform native egui apps (with the
winitfeature).
To write web apps using glow you can use eframe (which uses egui_glow for rendering).
To use on Linux, first run:
sudo apt-get install libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libxkbcommon-dev libssl-dev
This crate optionally depends on egui-winit.
Text the example with:
cargo run -p egui_glow --example pure_glow --features=winit,egui/default_fonts