mirror of https://github.com/AxioDL/metaforce.git
Minor adjustments to silence MSVC warnings
This commit is contained in:
parent
20354f165c
commit
d03f00938a
|
@ -1 +1 @@
|
||||||
Subproject commit 136e43dcfef11268a0fcb4e6b10c7febf1e64262
|
Subproject commit 02c1004d673989c900b09c3e8a01132c886812fb
|
|
@ -171,7 +171,7 @@ std::string GLSL::makeFrag(const char* glslVer,
|
||||||
lightingSrc = lighting.m_source;
|
lightingSrc = lighting.m_source;
|
||||||
|
|
||||||
std::string texMapDecl;
|
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);
|
texMapDecl += hecl::Format("TBINDING%u uniform sampler2D tex%u;\n", i, i);
|
||||||
|
|
||||||
std::string retval = std::string(glslVer) + "\n" BOO_GLSL_BINDING_HEAD +
|
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;
|
postEntry = post.m_entry;
|
||||||
|
|
||||||
std::string texMapDecl;
|
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);
|
texMapDecl += hecl::Format("TBINDING%u uniform sampler2D tex%u;\n", i, i);
|
||||||
|
|
||||||
std::string retval = std::string(glslVer) + "\n" BOO_GLSL_BINDING_HEAD +
|
std::string retval = std::string(glslVer) + "\n" BOO_GLSL_BINDING_HEAD +
|
||||||
|
|
Loading…
Reference in New Issue