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:
@@ -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"
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user