fix: gate bevy-dmabuf plugin behind wayland

Signed-off-by: Schmarni <marnistromer@gmail.com>
This commit is contained in:
Schmarni
2025-10-31 04:00:23 +01:00
parent 87857090b4
commit ccbd773cee
2 changed files with 6 additions and 3 deletions

View File

@@ -560,7 +560,7 @@ impl Model {
setup_complete_notify: Notify::new(),
setup_complete: AtomicBool::new(false),
});
model.spatial.bounding_box_calc.set(|n| {
_ = model.spatial.bounding_box_calc.set(|n| {
Box::pin(async {
if let Ok(model) = n.get_aspect::<Model>()
&& !model.setup_complete.load(Ordering::Relaxed)