Comment out annoying warnings

This commit is contained in:
Jack Andersen 2016-07-30 18:45:03 -10:00
parent bec368dfe7
commit 0ee5944387
1 changed files with 3 additions and 3 deletions

View File

@ -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);
}