2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-16 04:57:01 +00:00

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

Submodule hecl/extern/boo updated: 136e43dcfe...02c1004d67

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 +