fix(bevy_mod_openxr): make the window_support feature compile
Signed-off-by: Schmarni <marnistromer@gmail.com>
This commit is contained in:
@@ -13,7 +13,7 @@ vulkan = ["dep:ash", "dep:android_system_properties"]
|
|||||||
d3d12 = ["wgpu/dx12", "wgpu-hal/dx12", "dep:winapi"]
|
d3d12 = ["wgpu/dx12", "wgpu-hal/dx12", "dep:winapi"]
|
||||||
passthrough = []
|
passthrough = []
|
||||||
reflect = ["dep:bevy_reflect"]
|
reflect = ["dep:bevy_reflect"]
|
||||||
window_support = ["dep:bevy_winit"]
|
window_support = ["dep:bevy_winit", "dep:bevy_window"]
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
bevy.workspace = true
|
bevy.workspace = true
|
||||||
|
|||||||
@@ -75,9 +75,9 @@ pub fn add_xr_plugins<G: PluginGroup>(plugins: G) -> PluginGroupBuilder {
|
|||||||
primary_window: Some(Window {
|
primary_window: Some(Window {
|
||||||
transparent: true,
|
transparent: true,
|
||||||
present_mode: PresentMode::AutoNoVsync,
|
present_mode: PresentMode::AutoNoVsync,
|
||||||
..default()
|
..Default::default()
|
||||||
}),
|
}),
|
||||||
..default()
|
..Default::default()
|
||||||
});
|
});
|
||||||
plugins
|
plugins
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user