Skip to content

Commit

Permalink
add comments to demo
Browse files Browse the repository at this point in the history
  • Loading branch information
aevyrie committed Aug 13, 2022
1 parent fdf6ece commit eb289ad
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion examples/demo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@ fn main() {
.add_plugins(DefaultPlugins)
// Add the framepacing plugin.
.add_plugin(FramepacePlugin)
.insert_resource(FramepaceSettings::default().with_warnings(true))
// Frame drop warning can be disabled by uncommenting this line, but we will keep them on
// for the demo:
//
// .insert_resource(FramepaceSettings::default().with_warnings(false))
//
// Our systems for this demo
.add_startup_system(setup)
.add_system(toggle_plugin)
Expand Down

0 comments on commit eb289ad

Please sign in to comment.