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

Fix flickering for Context::create_viewport_sync but now will return a Option<T>

This commit is contained in:
Konkitoman
2023-08-23 06:20:31 +03:00
parent 3f8fe1db3a
commit 189e34e3d2
3 changed files with 5 additions and 9 deletions

View File

@@ -1096,10 +1096,8 @@ mod glow_integration {
.and_then(|w| w.read().window.clone())
},
);
return;
}
}
render(&egui_ctx);
},
);
@@ -2071,10 +2069,8 @@ mod wgpu_integration {
*focused.read(),
|id| _windows.read().get(&id).and_then(|w| w.0.clone()),
);
return;
}
}
render(&egui_ctx);
},
);