Fixed MinGW compile error.

This commit is contained in:
Branimir Karadžić 2015-04-22 19:43:19 -07:00
parent 62c3653877
commit ea375d5c03

View file

@ -519,7 +519,7 @@ bool compileHLSLShader(bx::CommandLine& _cmdLine, uint32_t _d3d, const std::stri
while (!reader.isEof() )
{
std::string line = reader.getLine();
for (UniformNameList::const_iterator it = unusedUniforms.begin(), itEnd = unusedUniforms.end(); it != itEnd; ++it)
for (UniformNameList::iterator it = unusedUniforms.begin(), itEnd = unusedUniforms.end(); it != itEnd; ++it)
{
size_t index = line.find("uniform ");
if (index == std::string::npos)