This commit is contained in:
Hanno Braun 2022-10-12 13:19:38 +02:00
parent f5375d0617
commit 9e4d697b60

View File

@ -188,6 +188,12 @@ impl Renderer {
1,
);
let egui = EguiState {
context: egui_context,
render_pass: egui_rpass,
options: Default::default(),
};
Ok(Self {
surface,
features,
@ -203,11 +209,7 @@ impl Renderer {
geometries,
pipelines,
egui: EguiState {
context: egui_context,
render_pass: egui_rpass,
options: Default::default(),
},
egui,
})
}