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

* Fix example hello_world_par

* Added warning for glow eframe when creating `Context::create_viewport_sync` in other thread, or cannot be rendered!
* Fix clippy warning
This commit is contained in:
Konkitoman
2023-08-25 11:22:18 +03:00
parent b0287e96e5
commit 4d01644b33
4 changed files with 16 additions and 11 deletions

View File

@@ -12,7 +12,7 @@ publish = false
eframe = { path = "../../crates/eframe", default-features = false, features = [
# accesskit struggles with threading
"default_fonts",
"glow",
# "wgpu",
"wgpu",
"x11"
] }
env_logger = "0.10"

View File

@@ -136,9 +136,6 @@ impl eframe::App for MyApp {
for (_handle, show_tx) in &self.threads {
let _ = show_tx.send(ctx.clone());
}
for _ in 0..self.threads.len() {
let _ = self.on_done_rc.recv();
}
}