aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/README.md b/README.md
index 561b897..a0f64c5 100644
--- a/README.md
+++ b/README.md
@@ -40,7 +40,10 @@ use bevy_headless_render;
fn main() {
App::new()
.add_plugins((
- DefaultPlugins,
+ DefaultPlugins
+ .build()
+ .disable::<WinitPlugin>(),
+ ScheduleRunnerPlugin::run_loop(Duration::from_secs_f32(1.0 / TICK_RATE)),
bevy_headless_render::HeadlessRenderPlugin,
))
.run();