mirror of
https://github.com/emilk/egui.git
synced 2026-06-28 07:23:13 -04:00
Some more work on making possible to render viewport_sync in glutin
Context::current_rendering_viewport was replaced by Context::get_viewport_id Added Context::get_parent_viewport_id Changed Context::run to need parent_viewport_id Changed Context::beagin to need parent_viewport_id Added ImplContext::frame_stack Some work on making posibile to render multiples frames at the same time A lot of more things in glutin backend is not Arc<RwLock<T>>
This commit is contained in:
@@ -18,7 +18,7 @@ fn main() -> Result<(), eframe::Error> {
|
||||
egui::CentralPanel::default().show(ctx, |ui| {
|
||||
ui.label(format!(
|
||||
"Current rendering window: {}",
|
||||
ctx.current_rendering_viewport()
|
||||
ctx.get_viewport_id()
|
||||
));
|
||||
ui.heading("My egui Application");
|
||||
ui.horizontal(|ui| {
|
||||
|
||||
Reference in New Issue
Block a user