diff --git a/Source/Game/Cabrito/Console/ConsoleScript.cs b/Source/Game/Cabrito/Console/ConsoleScript.cs index 7a073f5..b1d1f02 100644 --- a/Source/Game/Cabrito/Console/ConsoleScript.cs +++ b/Source/Game/Cabrito/Console/ConsoleScript.cs @@ -245,6 +245,8 @@ namespace Cabrito var rootlocation = rootControl.Control.Location; rootlocation.Y = -rootControl.Control.Height; rootControl.Control.Location = rootlocation; + + Console.Print("Renderer: " + GPUDevice.Instance.RendererType); } private void OnSendLog(LogType level, string msg, FlaxEngine.Object obj, string stackTrace) diff --git a/Source/Game/Cabrito/EngineSubsystem.cs b/Source/Game/Cabrito/EngineSubsystem.cs index 5c1a2e4..320d6cc 100644 --- a/Source/Game/Cabrito/EngineSubsystem.cs +++ b/Source/Game/Cabrito/EngineSubsystem.cs @@ -14,7 +14,6 @@ namespace Cabrito [ConsoleSubsystemInitializer] public static void Initialize() { - Console.Print("Renderer: " + GPUDevice.Instance.RendererType); } [ConsoleCommand("quit", "exit")] diff --git a/Source/GoakeTestsTarget.Build.cs b/Source/GoakeTestsTarget.Build.cs index 66b4fe7..3845202 100644 --- a/Source/GoakeTestsTarget.Build.cs +++ b/Source/GoakeTestsTarget.Build.cs @@ -26,7 +26,6 @@ public class GoakeTestsTarget : Target TargetConfiguration.Debug, TargetConfiguration.Release, };*/ - Modules.Add("Game"); CustomExternalProjectFilePath = System.IO.Path.Combine("Tests/GoakeTests.csproj"); } diff --git a/Tests/GoakeTests.csproj b/Tests/GoakeTests.csproj index cca51d1..1a6b7d4 100644 --- a/Tests/GoakeTests.csproj +++ b/Tests/GoakeTests.csproj @@ -7,6 +7,10 @@ net48;net5.0;net5.0-windows;net6.0;net6.0-windows False + + Editor.Windows.Development;Game.Windows.Development + + AnyCPU @@ -25,6 +29,10 @@ 4 + + true + +