Skip to content

Commit 61ce3f7

Browse files
authored
make wgpu options public (#1133)
1 parent 906b406 commit 61ce3f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/bevy_wgpu/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ pub fn get_wgpu_render_system(resources: &mut Resources) -> impl FnMut(&mut Worl
4444

4545
#[derive(Default, Clone)]
4646
pub struct WgpuOptions {
47-
backend: WgpuBackend,
48-
power_pref: WgpuPowerOptions,
47+
pub backend: WgpuBackend,
48+
pub power_pref: WgpuPowerOptions,
4949
}
5050

5151
#[derive(Clone)]

0 commit comments

Comments
 (0)