egui/crates/ecolor/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
..
cint_impl.rs Split out ecolor crate (#2399) 2022-12-06 20:42:25 +01:00
color32.rs Clear color values are now explicitely sent to the rendering backend as-is. (#2666) 2023-02-04 11:02:15 +01:00
hex_color_macro.rs Split out ecolor crate (#2399) 2022-12-06 20:42:25 +01:00
hsva.rs Split out ecolor crate (#2399) 2022-12-06 20:42:25 +01:00
hsva_gamma.rs Split out ecolor crate (#2399) 2022-12-06 20:42:25 +01:00
lib.rs Improve the look of thin lines, making them look weaker (#2437) 2022-12-12 16:18:05 +01:00
rgba.rs Improve the look of thin lines, making them look weaker (#2437) 2022-12-12 16:18:05 +01:00