Minor adjustments to silence MSVC warnings

This commit is contained in:
Jack Andersen 2016-07-14 11:30:32 -10:00
parent 20354f165c
commit d03f00938a
2 changed files with 3 additions and 3 deletions

2
hecl/extern/boo vendored

@ -1 +1 @@
Subproject commit 136e43dcfef11268a0fcb4e6b10c7febf1e64262
Subproject commit 02c1004d673989c900b09c3e8a01132c886812fb

View File

@ -171,7 +171,7 @@ std::string GLSL::makeFrag(const char* glslVer,
lightingSrc = lighting.m_source;
std::string texMapDecl;
for (int i=0 ; i<m_texMapEnd ; ++i)
for (unsigned i=0 ; i<m_texMapEnd ; ++i)
texMapDecl += hecl::Format("TBINDING%u uniform sampler2D tex%u;\n", i, i);
std::string retval = std::string(glslVer) + "\n" BOO_GLSL_BINDING_HEAD +
@ -221,7 +221,7 @@ std::string GLSL::makeFrag(const char* glslVer,
postEntry = post.m_entry;
std::string texMapDecl;
for (int i=0 ; i<m_texMapEnd ; ++i)
for (unsigned i=0 ; i<m_texMapEnd ; ++i)
texMapDecl += hecl::Format("TBINDING%u uniform sampler2D tex%u;\n", i, i);
std::string retval = std::string(glslVer) + "\n" BOO_GLSL_BINDING_HEAD +