1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-01 14:20:04 -04:00

Reintroduce color fixes to WebGL1 backend, but only if sRGB textures are supported (#652)

Also removed the 300es shaders, as they'd be identical to the 100es ones.
This commit is contained in:
AsmPrgmC3
2021-08-26 18:40:35 +02:00
committed by GitHub
parent c510899019
commit 3a634ff46e
9 changed files with 224 additions and 27 deletions

View File

@@ -39,7 +39,7 @@ impl epi::App for ColorTest {
if frame.is_web() {
ui.colored_label(
RED,
"NOTE: The WebGL1 backend does NOT pass the color test. The WebGL2 backend does."
"NOTE: The WebGL1 backend without sRGB support does NOT pass the color test.",
);
ui.separator();
}