From 479734b7941c38c6178363296c68fc2b9dfdeab6 Mon Sep 17 00:00:00 2001 From: Charlotte McElwain Date: Mon, 19 Aug 2024 13:53:13 -0700 Subject: [PATCH] Move plugin into render plugin. --- crates/bevy_internal/src/default_plugins.rs | 2 -- crates/bevy_render/src/lib.rs | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/bevy_internal/src/default_plugins.rs b/crates/bevy_internal/src/default_plugins.rs index 369109b8dda7db..a84bbdb5735906 100644 --- a/crates/bevy_internal/src/default_plugins.rs +++ b/crates/bevy_internal/src/default_plugins.rs @@ -30,8 +30,6 @@ plugin_group! { #[cfg(feature = "bevy_render")] bevy_render::texture:::ImagePlugin, #[cfg(feature = "bevy_render")] - bevy_render::storage:::StoragePlugin, - #[cfg(feature = "bevy_render")] #[custom(cfg(all(not(target_arch = "wasm32"), feature = "multi_threaded")))] bevy_render::pipelined_rendering:::PipelinedRenderingPlugin, #[cfg(feature = "bevy_core_pipeline")] diff --git a/crates/bevy_render/src/lib.rs b/crates/bevy_render/src/lib.rs index 17a6eb95d5c9dd..fc26a0c8954317 100644 --- a/crates/bevy_render/src/lib.rs +++ b/crates/bevy_render/src/lib.rs @@ -76,6 +76,7 @@ use crate::{ render_resource::{PipelineCache, Shader, ShaderLoader}, renderer::{render_system, RenderInstance}, settings::RenderCreation, + storage::StoragePlugin, view::{ViewPlugin, WindowRenderPlugin}, }; use bevy_app::{App, AppLabel, Plugin, SubApp}; @@ -357,6 +358,7 @@ impl Plugin for RenderPlugin { GlobalsPlugin, MorphPlugin, BatchingPlugin, + StoragePlugin, )); app.init_resource::()