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 7ee3cb7..e86ba28 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();