Merge pull request #175 from rdb/master

Fix compilation issues with MSVC 2010
This commit is contained in:
John Kessenich
2016-02-27 21:29:14 -07:00
8 changed files with 28 additions and 28 deletions

View File

@@ -690,8 +690,8 @@ TGlslangToSpvTraverser::TGlslangToSpvTraverser(const glslang::TIntermediate* gls
void TGlslangToSpvTraverser::dumpSpv(std::vector<unsigned int>& out)
{
// finish off the entry-point SPV instruction by adding the Input/Output <id>
for (auto it : iOSet)
entryPoint->addIdOperand(it);
for (auto it = iOSet.cbegin(); it != iOSet.cend(); ++it)
entryPoint->addIdOperand(*it);
builder.dump(out);
}