Merge pull request #548 from baldurk/vs2010-compile-fixes
VS2010 compile fixes
This commit is contained in:
commit
1fabc0f697
9 changed files with 170 additions and 164 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue