diff --git a/src/main.rs b/src/main.rs index 5aaacce..00a8e35 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,5 +1,15 @@ -use bevy::prelude::*; +use bevy::{prelude::*, window::PresentMode}; fn main() { - App::new().add_plugins(DefaultPlugins).run(); + App::new() + .add_plugins(DefaultPlugins.set(WindowPlugin { + primary_window: Some(Window { + title: "Harenae".into(), + resolution: (1280.0, 720.0).into(), + present_mode: PresentMode::AutoVsync, + ..default() + }), + ..default() + })) + .run(); }