mirror of
https://github.com/hannobraun/Fornjot
synced 2025-01-17 13:46:10 +00:00
Refactor
This commit is contained in:
parent
f5375d0617
commit
9e4d697b60
@ -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,
|
||||
})
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user