Allow opening a scene on launch

+ don't resize on load/new scene
This commit is contained in:
Simon Lübeß
2023-07-17 02:19:49 +02:00
parent 1641bafd06
commit 28155ec92c
4 changed files with 56 additions and 58 deletions
+2 -2
View File
@@ -8,7 +8,7 @@ namespace GlitchyEngine
class Program
{
[LinkName("CreateApplication")]
static extern Application CreateApplication();
static extern Application CreateApplication(String[] args);
public static int Main(String[] args)
{
@@ -23,7 +23,7 @@ namespace GlitchyEngine
Stopwatch initWatch = scope Stopwatch();
app = CreateApplication();
app = CreateApplication(args);
initWatch.Stop();