make wgpu options public (#1133)

This commit is contained in:
Carter Anderson 2020-12-22 22:35:17 -06:00 committed by GitHub
parent 906b406f6a
commit 61ce3f7bcf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -44,8 +44,8 @@ pub fn get_wgpu_render_system(resources: &mut Resources) -> impl FnMut(&mut Worl
#[derive(Default, Clone)]
pub struct WgpuOptions {
backend: WgpuBackend,
power_pref: WgpuPowerOptions,
pub backend: WgpuBackend,
pub power_pref: WgpuPowerOptions,
}
#[derive(Clone)]