From 8a51044c68d055f04f8cb3e89dc7425b53457ae5 Mon Sep 17 00:00:00 2001 From: Magnus Norddahl Date: Thu, 4 Jul 2024 01:13:58 +0200 Subject: [PATCH] Second attempt at fixing the build for the crapple platform --- libraries/ZVulkan/src/glslang/glslang/Include/InfoSink.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/libraries/ZVulkan/src/glslang/glslang/Include/InfoSink.h b/libraries/ZVulkan/src/glslang/glslang/Include/InfoSink.h index aa8f489f4..04c925383 100644 --- a/libraries/ZVulkan/src/glslang/glslang/Include/InfoSink.h +++ b/libraries/ZVulkan/src/glslang/glslang/Include/InfoSink.h @@ -102,11 +102,7 @@ public: #ifdef __APPLE__ // crapple only implemented std::filesystem::absolute on the very latest macOS. std::string location = loc.getStringNameOrNum(false); - if (absolute) { - append(std::filesystem::absolute(location).string()); - } else { - append(location); - } + append(location); #else if(loc.getFilename() == nullptr && shaderFileName != nullptr && absolute) { append(std::filesystem::absolute(shaderFileName).string());