浏览代码

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

Show the canvas immediately in unix because the splash doesn't work
Daniel Buckmaster 10 年之前
父节点
当前提交
6a96894a9c
共有 4 个文件被更改,包括 4 次插入4 次删除
  1. 1 1
      Templates/Empty/game/main.cs
  2. 1 1
      Templates/Empty/game/main.cs.in
  3. 1 1
      Templates/Full/game/main.cs
  4. 1 1
      Templates/Full/game/main.cs.in

+ 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