egui/crates/egui-wgpu/src
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
..
egui.wgsl Improve text redering and do all color operation in gamma space (#2071) 2022-09-24 17:53:11 +02:00
lib.rs wgpu upgraded to 0.15. demo working on linux (#2629) 2023-01-27 09:19:47 +01:00
renderer.rs wgpu upgraded to 0.15. demo working on linux (#2629) 2023-01-27 09:19:47 +01:00
winit.rs Clear color values are now explicitely sent to the rendering backend as-is. (#2666) 2023-02-04 11:02:15 +01:00