mirror of https://github.com/AxioDL/boo.git
Comment out annoying warnings
This commit is contained in:
parent
bec368dfe7
commit
0ee5944387
|
@ -505,8 +505,8 @@ IShaderPipeline* GLDataFactory::Context::newShaderPipeline
|
|||
for (size_t i=0 ; i<uniformBlockCount ; ++i)
|
||||
{
|
||||
GLint uniLoc = glGetUniformBlockIndex(shader.m_prog, uniformBlockNames[i]);
|
||||
if (uniLoc < 0)
|
||||
Log.report(logvisor::Warning, "unable to find uniform block '%s'", uniformBlockNames[i]);
|
||||
//if (uniLoc < 0)
|
||||
// Log.report(logvisor::Warning, "unable to find uniform block '%s'", uniformBlockNames[i]);
|
||||
shader.m_uniLocs.push_back(uniLoc);
|
||||
}
|
||||
}
|
||||
|
@ -517,7 +517,7 @@ IShaderPipeline* GLDataFactory::Context::newShaderPipeline
|
|||
{
|
||||
GLint texLoc = glGetUniformLocation(shader.m_prog, texNames[i]);
|
||||
if (texLoc < 0)
|
||||
Log.report(logvisor::Warning, "unable to find sampler variable '%s'", texNames[i]);
|
||||
{ /* Log.report(logvisor::Warning, "unable to find sampler variable '%s'", texNames[i]); */ }
|
||||
else
|
||||
glUniform1i(texLoc, i);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue