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:
0x182d4454fb211940 2022-08-02 12:45:54 +00:00
parent 825518564a
commit fdcffb885f

View file

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