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