Merge pull request #548 from baldurk/vs2010-compile-fixes
VS2010 compile fixes
This commit is contained in:
@@ -673,11 +673,11 @@ void CompileAndLinkShaderFiles()
|
||||
// they are all getting linked together.)
|
||||
glslang::TWorkItem* workItem;
|
||||
while (Worklist.remove(workItem)) {
|
||||
ShaderCompUnit compUnit = {
|
||||
ShaderCompUnit compUnit(
|
||||
FindLanguage(workItem->name),
|
||||
workItem->name,
|
||||
ReadFileData(workItem->name.c_str())
|
||||
};
|
||||
);
|
||||
|
||||
if (! compUnit.text) {
|
||||
usage();
|
||||
|
||||
Reference in New Issue
Block a user