Limit bevy frame updates
This commit is contained in:
parent
fe9407cbb2
commit
069c87dbc8
1 changed files with 2 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
|||
use bevy::prelude::*;
|
||||
use bevy::{prelude::*, winit::WinitSettings};
|
||||
use bevy_vello::{
|
||||
VelloPlugin,
|
||||
prelude::*,
|
||||
|
|
@ -13,6 +13,7 @@ fn main() {
|
|||
App::new()
|
||||
.add_plugins(DefaultPlugins)
|
||||
.add_plugins(VelloPlugin::default())
|
||||
.insert_resource(WinitSettings::desktop_app())
|
||||
.add_systems(Startup, setup_vector_graphics)
|
||||
.add_systems(PostStartup, draw_map)
|
||||
.run();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue