Skip to content

Commit

Permalink
fixed formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
awtterpip committed Sep 9, 2023
1 parent 801be7f commit ac28b11
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion crates/bevy_render/src/settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,13 @@ pub enum RenderSettings {

impl RenderSettings {
/// Function to create a [`RenderSettings::Manual`] variant.
pub fn manual(device: RenderDevice, queue: RenderQueue, adapter_info: RenderAdapterInfo, adapter: RenderAdapter, instance: Instance) -> Self {
pub fn manual(
device: RenderDevice,
queue: RenderQueue,
adapter_info: RenderAdapterInfo,
adapter: RenderAdapter,
instance: Instance,
) -> Self {
Self::Manual(device, queue, adapter_info, adapter, Mutex::new(instance))
}
}
Expand Down

0 comments on commit ac28b11

Please sign in to comment.