Update main.rs
This commit is contained in:
@@ -5,15 +5,15 @@ use bevy_inspector_egui::{bevy_egui::EguiPlugin, quick::WorldInspectorPlugin};
|
||||
use plugins::GamePlugin;
|
||||
mod components;
|
||||
mod resources;
|
||||
|
||||
const NAME: &str = "Space Game";
|
||||
fn main() {
|
||||
App::new()
|
||||
.add_plugins((
|
||||
DefaultPlugins
|
||||
.set(WindowPlugin {
|
||||
primary_window: Some(Window {
|
||||
title: "Phos".into(),
|
||||
name: Some("phos".into()),
|
||||
title: NAME.into(),
|
||||
name: Some(NAME.into()),
|
||||
#[cfg(debug_assertions)]
|
||||
resolution: (1920., 1080.).into(),
|
||||
present_mode: PresentMode::AutoNoVsync,
|
||||
|
||||
Reference in New Issue
Block a user