From a6702d1331d476d8154b7b89aa52caa622f1c578 Mon Sep 17 00:00:00 2001 From: Daniel Buckmaster Date: Sat, 7 Feb 2015 13:23:18 +1100 Subject: [PATCH] Show the canvas immediately in unix because the splash doesn't work. --- Templates/Empty/game/main.cs | 2 +- Templates/Empty/game/main.cs.in | 2 +- Templates/Full/game/main.cs | 2 +- Templates/Full/game/main.cs.in | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Templates/Empty/game/main.cs b/Templates/Empty/game/main.cs index 5d26b7fca..2b3b48e8c 100644 --- a/Templates/Empty/game/main.cs +++ b/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 diff --git a/Templates/Empty/game/main.cs.in b/Templates/Empty/game/main.cs.in index d3b5791ef..1007c7911 100644 --- a/Templates/Empty/game/main.cs.in +++ b/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 diff --git a/Templates/Full/game/main.cs b/Templates/Full/game/main.cs index 96794899a..b824b04e2 100644 --- a/Templates/Full/game/main.cs +++ b/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 diff --git a/Templates/Full/game/main.cs.in b/Templates/Full/game/main.cs.in index d3b5791ef..1007c7911 100644 --- a/Templates/Full/game/main.cs.in +++ b/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