diff options
| author | Jay Kwak <82421531+jkwak-work@users.noreply.github.com> | 2024-02-17 11:04:55 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-17 11:04:55 -0800 |
| commit | 8e9b61e3bac69dbb37a1451b62302e688a017ced (patch) | |
| tree | 16743f63ebef12885dc82cc94307bb5e21c996f9 /source | |
| parent | b50d311b66ec0a7f7122767a8363c896805c2df6 (diff) | |
Fix the build when you try to build slang-glslang (#3599)
Diffstat (limited to 'source')
| -rw-r--r-- | source/slang-glslang/slang-glslang.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/source/slang-glslang/slang-glslang.cpp b/source/slang-glslang/slang-glslang.cpp index db9f7c0be..32db16259 100644 --- a/source/slang-glslang/slang-glslang.cpp +++ b/source/slang-glslang/slang-glslang.cpp @@ -11,7 +11,7 @@ #include "SPIRV/doc.h" #include "SPIRV/disassemble.h" -#include "OGLCompilersDLL/InitializeDll.h" +#include "glslang/MachineIndependent/localintermediate.h" #include "../../slang.h" @@ -819,11 +819,6 @@ int glslang_compile_1_2(glslang_CompileRequest_1_2 * inRequest) // Failed return 1; } - if (!glslang::InitThread()) - { - // Failed - return 1; - } // If it's the right size just use it if (inRequest->sizeInBytes == sizeof(glslang_CompileRequest_1_2)) |
