Skip to content

Commit

Permalink
Cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
tychedelia committed Nov 18, 2024
1 parent 6c89da1 commit af0ba4d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/shader/shader_material.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,14 @@ use bevy::{
reflect::TypePath,
render::render_resource::{AsBindGroup, ShaderRef},
};
use bevy::ecs::system::SystemParamItem;

/// This example uses a shader source file from the assets subdirectory
const SHADER_ASSET_PATH: &str = "shaders/custom_material.wgsl";

fn main() {
App::new()
.add_plugins((DefaultPlugins, MaterialPlugin::<CustomMaterial>::default()))
.add_systems(Startup, (setup, foo))
.add_systems(Startup, setup)
.run();
}

Expand Down

0 comments on commit af0ba4d

Please sign in to comment.