mirror of
https://github.com/bevyengine/bevy
synced 2024-11-26 06:30:19 +00:00
Remove duplicate RenderGraph
insertion to render world (#5551)
# Objective - Remove unnecessary duplicate `init_resource` call for `RenderGraph`. ## Solution - Remove unnecessary duplicate `init_resource` call for `RenderGraph`.
This commit is contained in:
parent
825518564a
commit
fdcffb885f
1 changed files with 1 additions and 2 deletions
|
@ -199,8 +199,7 @@ impl Plugin for RenderPlugin {
|
|||
.insert_resource(queue)
|
||||
.insert_resource(adapter_info)
|
||||
.insert_resource(pipeline_cache)
|
||||
.insert_resource(asset_server)
|
||||
.init_resource::<RenderGraph>();
|
||||
.insert_resource(asset_server);
|
||||
|
||||
let (sender, receiver) = bevy_time::create_time_channels();
|
||||
app.insert_resource(receiver);
|
||||
|
|
Loading…
Reference in a new issue