application config for window settings

This commit is contained in:
2024-08-05 14:01:01 +10:00
parent e8581396cc
commit 0bcbaa6404
2 changed files with 50 additions and 7 deletions

View File

@ -1,4 +1,11 @@
import Darwin
let app = Application()
let app = Application(
configuration: ApplicationConfiguration(
width: 1280,
height: 720,
title: "Voxelotl Demo",
flags: .resizable,
vsyncMode: .on(interval: 1)))
exit(app.run())