From 0ba611e57f3550c31eda8fabe5f55d0aacf8b53a Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Mon, 20 Apr 2026 10:42:20 +0200 Subject: [PATCH] Fix compilation --- Source/Engine/Graphics/GPUDevice.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/Engine/Graphics/GPUDevice.cpp b/Source/Engine/Graphics/GPUDevice.cpp index 741d0474f..9a1935228 100644 --- a/Source/Engine/Graphics/GPUDevice.cpp +++ b/Source/Engine/Graphics/GPUDevice.cpp @@ -534,7 +534,11 @@ void GPUDevice::DumpResourcesToLog() const { if (MemoryUsage != other.MemoryUsage) return MemoryUsage > other.MemoryUsage; +#if GPU_ENABLE_RESOURCE_NAMING return Object->GetName().Compare(other.Object->GetName()) > 0; +#else + return (uintptr)Object < (uintptr)other.Object; +#endif } }; Array resources;