Skip to content

Commit

Permalink
Pass screen descriptor to callback
Browse files Browse the repository at this point in the history
  • Loading branch information
StratusFearMe21 committed Feb 4, 2024
1 parent 114f820 commit a2fcfd4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/egui-wgpu/src/renderer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ pub trait CallbackTrait: Send + Sync {
_queue: &wgpu::Queue,
_egui_encoder: &mut wgpu::CommandEncoder,
_callback_resources: &mut CallbackResources,
_screen_descriptor: &ScreenDescriptor,
) -> Vec<wgpu::CommandBuffer> {
Vec::new()
}
Expand Down Expand Up @@ -892,6 +893,7 @@ impl Renderer {
queue,
encoder,
&mut self.callback_resources,
screen_descriptor,
));
}
}
Expand Down

0 comments on commit a2fcfd4

Please sign in to comment.