fix(bevy_mod_openxr): make the window_support feature compile

Signed-off-by: Schmarni <marnistromer@gmail.com>
This commit is contained in:
Schmarni
2025-10-19 16:38:25 +02:00
parent 294cd605e7
commit 977fe029ad
2 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

@@ -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
} }