소스 검색

Show the canvas immediately in unix because the splash doesn't work.

Daniel Buckmaster 10 년 전
부모
커밋
a6702d1331
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