Fix compilation

This commit is contained in:
2026-04-20 10:42:20 +02:00
parent f85836d090
commit 0ba611e57f
+4
View File
@@ -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<Resource> resources;