Skip to content

Commit 8e9b61e

Browse files
authored
Fix the build when you try to build slang-glslang (shader-slang#3599)
1 parent b50d311 commit 8e9b61e

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

source/slang-glslang/slang-glslang.cpp

+1-6
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#include "SPIRV/doc.h"
1212
#include "SPIRV/disassemble.h"
1313

14-
#include "OGLCompilersDLL/InitializeDll.h"
14+
#include "glslang/MachineIndependent/localintermediate.h"
1515

1616
#include "../../slang.h"
1717

@@ -819,11 +819,6 @@ int glslang_compile_1_2(glslang_CompileRequest_1_2 * inRequest)
819819
// Failed
820820
return 1;
821821
}
822-
if (!glslang::InitThread())
823-
{
824-
// Failed
825-
return 1;
826-
}
827822

828823
// If it's the right size just use it
829824
if (inRequest->sizeInBytes == sizeof(glslang_CompileRequest_1_2))

0 commit comments

Comments
 (0)