aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs5
-rw-r--r--src/nodes.rs2
-rw-r--r--src/resources.rs0
-rw-r--r--src/systems.rs2
4 files changed, 1 insertions, 8 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 9c6fb1b..c112610 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -8,11 +8,6 @@ mod systems;
mod nodes;
pub mod render_assets;
-
-pub enum FramebufferExtractSet {
- Set
-}
-
pub struct FramebufferExtractPlugin;
impl Plugin for FramebufferExtractPlugin {
diff --git a/src/nodes.rs b/src/nodes.rs
index bccd861..d069798 100644
--- a/src/nodes.rs
+++ b/src/nodes.rs
@@ -11,7 +11,7 @@ pub struct FramebufferExtractNode;
impl Node for FramebufferExtractNode {
fn run(
&self,
- graph: &mut RenderGraphContext,
+ _graph: &mut RenderGraphContext,
render_context: &mut RenderContext,
world: &World,
) -> Result<(), NodeRunError> {
diff --git a/src/resources.rs b/src/resources.rs
deleted file mode 100644
index e69de29..0000000
--- a/src/resources.rs
+++ /dev/null
diff --git a/src/systems.rs b/src/systems.rs
index 25b25dc..244b82f 100644
--- a/src/systems.rs
+++ b/src/systems.rs
@@ -1,5 +1,3 @@
-use std::time::Duration;
-
use bevy::{prelude::*, render::{render_asset::{RenderAssets, RenderAssetUsages}, renderer::RenderDevice, render_resource::{MapMode, Maintain, Extent3d, TextureDimension}}};
use pollster::FutureExt;