Bläddra i källkod

Merge pull request #1157 from eightyeight/linux-no-splash

Show the canvas immediately in unix because the splash doesn't work
Daniel Buckmaster 10 år sedan
förälder
incheckning
6a96894a9c

+ 1 - 1
Templates/Empty/game/main.cs

@@ -40,7 +40,7 @@ function createCanvas(%windowTitle)
    // Create the Canvas
    %foo = new GuiCanvas(Canvas)
    {
-      displayWindow = false;
+      displayWindow = $platform !$= "windows";
    };
    
    // Set the window title

+ 1 - 1
Templates/Empty/game/main.cs.in

@@ -40,7 +40,7 @@ function createCanvas(%windowTitle)
    // Create the Canvas
    %foo = new GuiCanvas(Canvas)
    {
-      displayWindow = false;
+      displayWindow = $platform !$= "windows";
    };
    
    // Set the window title

+ 1 - 1
Templates/Full/game/main.cs

@@ -40,7 +40,7 @@ function createCanvas(%windowTitle)
    // Create the Canvas
    %foo = new GuiCanvas(Canvas)
    {
-      displayWindow = false;
+      displayWindow = $platform !$= "windows";
    };
    
    // Set the window title

+ 1 - 1
Templates/Full/game/main.cs.in

@@ -40,7 +40,7 @@ function createCanvas(%windowTitle)
    // Create the Canvas
    %foo = new GuiCanvas(Canvas)
    {
-      displayWindow = false;
+      displayWindow = $platform !$= "windows";
    };
    
    // Set the window title