From 362143b7adb8011484e2cbf41b8b43bae8a813fa Mon Sep 17 00:00:00 2001 From: Jan Hohenheim Date: Tue, 8 Jul 2025 00:38:40 +0200 Subject: [PATCH] Fix render app never being ready --- crates/bevy_render/src/lib.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/crates/bevy_render/src/lib.rs b/crates/bevy_render/src/lib.rs index d59dff76b1..b534ad7ba0 100644 --- a/crates/bevy_render/src/lib.rs +++ b/crates/bevy_render/src/lib.rs @@ -122,7 +122,6 @@ use bevy_ecs::{prelude::*, schedule::ScheduleLabel}; use bevy_utils::WgpuWrapper; use bitflags::bitflags; use core::ops::{Deref, DerefMut}; -use std::panic; use std::sync::Mutex; use tracing::debug; @@ -396,13 +395,6 @@ impl Plugin for RenderPlugin { .register_type::(); } - fn ready(&self, app: &App) -> bool { - app.world() - .get_resource::() - .and_then(|frr| frr.0.try_lock().map(|locked| locked.is_some()).ok()) - .unwrap_or(true) - } - fn finish(&self, app: &mut App) { load_shader_library!(app, "maths.wgsl"); load_shader_library!(app, "color_operations.wgsl");