1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-31 05:40:03 -04:00

egui_web: always use the glow painter, and remove the old WebGL code. (#1356)

* egui_web: always use the glow painter, and remove the old WebGL code.
* Clean up the WebPainter trait
* Clarify WebGL1 warning text in color test

The glow painter became standard in egui 0.17, and I've heard no complaints! So let's simplify and go all in on glow.

Part of https://github.com/emilk/egui/issues/1198
This commit is contained in:
Emil Ernerfeldt
2022-03-11 19:15:06 +01:00
committed by GitHub
parent 52b4ab4e18
commit 50539bd31a
18 changed files with 28 additions and 1514 deletions

View File

@@ -59,9 +59,7 @@ egui-winit = { version = "0.17.0", path = "../egui-winit", default-features = fa
# web:
[target.'cfg(target_arch = "wasm32")'.dependencies]
egui_web = { version = "0.17.0", path = "../egui_web", default-features = false, features = [
"glow",
] }
egui_web = { version = "0.17.0", path = "../egui_web", default-features = false }
[dev-dependencies]