Skip to content

Commit

Permalink
Fix doc error
Browse files Browse the repository at this point in the history
  • Loading branch information
johanhelsing committed Nov 19, 2023
1 parent 8279aeb commit 6830522
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,8 @@ use bevy_smud::prelude::*;

fn main() {
App::new()
.add_plugins(DefaultPlugins)
.add_plugin(SmudPlugin)
.add_startup_system(setup)
.add_plugins((DefaultPlugins, SmudPlugin))
.add_systems(Startup, setup)
.run();
}

Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ impl Plugin for SmudPlugin {
fn build(&self, app: &mut App) {
// All the messy boiler-plate for loading a bunch of shaders
app.add_plugins(ShaderLoadingPlugin);
// app.add_plugin(UiShapePlugin);
// app.add_plugins(UiShapePlugin);

if let Ok(render_app) = app.get_sub_app_mut(RenderApp) {
render_app
Expand Down

0 comments on commit 6830522

Please sign in to comment.