0.2.0-dev Download ZIP
33 lines ·1.1 KB Raw
| 1 | diff --git a/thirdparty/glslang/glslang/Include/InfoSink.h b/thirdparty/glslang/glslang/Include/InfoSink.h |
| 2 | index 262933941d..dec05e651c 100644 |
| 3 | --- a/thirdparty/glslang/glslang/Include/InfoSink.h |
| 4 | +++ b/thirdparty/glslang/glslang/Include/InfoSink.h |
| 5 | @@ -36,7 +36,7 @@ |
| 6 | #define _INFOSINK_INCLUDED_ |
| 7 | |
| 8 | #include "../Include/Common.h" |
| 9 | -#include <filesystem> |
| 10 | +//#include <filesystem> |
| 11 | #include <cmath> |
| 12 | |
| 13 | namespace glslang { |
| 14 | @@ -105,14 +105,14 @@ public: |
| 15 | } |
| 16 | |
| 17 | if(loc.getFilename() == nullptr && shaderFileName != nullptr && absolute) { |
| 18 | - append(std::filesystem::absolute(shaderFileName).string()); |
| 19 | + //append(std::filesystem::absolute(shaderFileName).string()); |
| 20 | } else { |
| 21 | std::string location = loc.getStringNameOrNum(false); |
| 22 | - if (absolute) { |
| 23 | - append(std::filesystem::absolute(location).string()); |
| 24 | - } else { |
| 25 | + //if (absolute) { |
| 26 | + // append(std::filesystem::absolute(location).string()); |
| 27 | + //} else { |
| 28 | append(location); |
| 29 | - } |
| 30 | + //} |
| 31 | } |
| 32 | |
| 33 | append(locText); |