Skip to content

Commit deb3ba8

Browse files
committed
Simplify even more
1 parent 61c4dfd commit deb3ba8

File tree

4 files changed

+0
-6
lines changed

4 files changed

+0
-6
lines changed

crates/bevy_render/Cargo.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,6 @@ hex = "0.4.2"
4040
hexasphere = "3.3"
4141
parking_lot = "0.11.0"
4242

43-
# FIXME remove
44-
wgpu = { path = "../../../wgpu-rs" }
45-
4643
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
4744
spirv-reflect = "0.2.3"
4845

crates/bevy_render/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,6 @@ impl Plugin for RenderPlugin {
218218
if let Some(ref config) = self.base_render_graph_config {
219219
crate::base::add_base_graph(config, app.world_mut());
220220
let mut active_cameras = app.world_mut().get_resource_mut::<ActiveCameras>().unwrap();
221-
222221
if config.add_3d_camera {
223222
active_cameras.add(base::camera::CAMERA_3D);
224223
}

crates/bevy_render/src/renderer/headless_render_resource_context.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ use bevy_utils::HashMap;
1212
use bevy_window::Window;
1313
use parking_lot::RwLock;
1414
use std::{ops::Range, sync::Arc};
15-
use wgpu::TextureView;
1615

1716
#[derive(Debug, Default)]
1817
pub struct HeadlessRenderResourceContext {

crates/bevy_render/src/renderer/render_resource_context.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ use bevy_asset::{Asset, Assets, Handle, HandleUntyped};
1010
use bevy_window::Window;
1111
use downcast_rs::{impl_downcast, Downcast};
1212
use std::ops::Range;
13-
use wgpu::TextureView;
1413

1514
pub trait RenderResourceContext: Downcast + Send + Sync + 'static {
1615
fn create_swap_chain(&self, window: &Window);

0 commit comments

Comments
 (0)