egui/crates/egui_demo_app
Andreas Reich 8aa07e9d43
Clear color values are now explicitely sent to the rendering backend as-is. (#2666)
* Clear color values are not explicitely sent to the rendering backend as-is.
Previously, converting from Color32 to Rgba caused an srgb->linear conversion. This conversion is incorrect if the backbuffer doesn't perform automatic conversion from linear->srgb (lack of this conversion is generally what egui assumes!).

* fill in pr numbers in changelog

* Epi comment fix

Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>

* Color32 comment fix

Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>

* move changelog line

* rename fix

* use backticks in doc

---------

Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>
2023-02-04 11:02:15 +01:00
..
src Clear color values are now explicitely sent to the rendering backend as-is. (#2666) 2023-02-04 11:02:15 +01:00
Cargo.toml Release 0.20.0 - AccessKit, prettier text, overlapping widgets 2022-12-08 15:11:54 +01:00
README.md Fix broken GitHub source links due to #1940 2022-08-20 15:18:02 +02:00

egui demo app

This app demonstrates egui and eframe.

View the demo app online at https://egui.rs.

Run it locally with cargo run --release -p egui_demo_app.

egui_demo_app can be compiled to WASM and viewed in a browser locally with:

./sh/start_server.sh &
./sh/build_demo_web.sh --open

egui_demo_app uses egui_demo_lib.

Running with wgpu backend

(cd egui_demo_app && cargo r --features wgpu)