Add PLATFORM_CONSOLE define and fix desktop to be as Windows/UWP, not Win32

This commit is contained in:
Wojtek Figat
2025-08-12 12:34:32 +02:00
parent cdff7708fb
commit 278dead0bd
5 changed files with 6 additions and 2 deletions

View File

@@ -202,7 +202,7 @@ bool GraphicsService::Init()
#endif
)
{
#if !USE_EDITOR && BUILD_RELEASE && !PLATFORM_LINUX // IsDebugToolAttached seams to be enabled on many Linux machines via VK_EXT_tooling_info
#if !USE_EDITOR && BUILD_RELEASE && !PLATFORM_LINUX && !PLATFORM_CONSOLE // IsDebugToolAttached seams to be enabled on many Linux machines via VK_EXT_tooling_info
// Block graphics debugging to protect contents
Platform::Fatal(TEXT("Graphics debugger attached."));
#endif