From 259d93f95ceaf9d312581d0cf4a46218f71dd730 Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Wed, 28 Jan 2026 17:08:00 +0100 Subject: [PATCH] Fix RenderDoc detection on Vulkan --- Source/Engine/Graphics/Graphics.cpp | 2 +- .../Engine/GraphicsDevice/Vulkan/GPUDeviceVulkan.Layers.cpp | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Source/Engine/Graphics/Graphics.cpp b/Source/Engine/Graphics/Graphics.cpp index 05f52769e..6e27833b0 100644 --- a/Source/Engine/Graphics/Graphics.cpp +++ b/Source/Engine/Graphics/Graphics.cpp @@ -207,7 +207,7 @@ bool GraphicsService::Init() #endif ) { -#if !USE_EDITOR && BUILD_RELEASE && !PLATFORM_LINUX && !PLATFORM_CONSOLE // IsDebugToolAttached seams to be enabled on many Linux machines via VK_EXT_tooling_info +#if !USE_EDITOR && BUILD_RELEASE && !PLATFORM_CONSOLE // Block graphics debugging to protect contents Platform::Fatal(TEXT("Graphics debugger attached.")); #endif diff --git a/Source/Engine/GraphicsDevice/Vulkan/GPUDeviceVulkan.Layers.cpp b/Source/Engine/GraphicsDevice/Vulkan/GPUDeviceVulkan.Layers.cpp index 2ce634207..5ac20b613 100644 --- a/Source/Engine/GraphicsDevice/Vulkan/GPUDeviceVulkan.Layers.cpp +++ b/Source/Engine/GraphicsDevice/Vulkan/GPUDeviceVulkan.Layers.cpp @@ -490,12 +490,10 @@ void GPUDeviceVulkan::GetDeviceExtensionsAndLayers(VkPhysicalDevice gpu, Array