Fixed README setup example
This commit is contained in:
parent
017228ffbd
commit
e9e89ef02f
@ -40,7 +40,10 @@ use bevy_headless_render;
|
|||||||
fn main() {
|
fn main() {
|
||||||
App::new()
|
App::new()
|
||||||
.add_plugins((
|
.add_plugins((
|
||||||
DefaultPlugins,
|
DefaultPlugins
|
||||||
|
.build()
|
||||||
|
.disable::<WinitPlugin>(),
|
||||||
|
ScheduleRunnerPlugin::run_loop(Duration::from_secs_f32(1.0 / TICK_RATE)),
|
||||||
bevy_headless_render::HeadlessRenderPlugin,
|
bevy_headless_render::HeadlessRenderPlugin,
|
||||||
))
|
))
|
||||||
.run();
|
.run();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user