Merge pull request #543 from jasonbeverage/quietshaders

Quiet down shader compilation messages
This commit is contained in:
OpenSceneGraph git repository 2018-05-01 18:37:23 +01:00 committed by GitHub
commit 5feb9e58f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -641,7 +641,7 @@ void Shader::PerContextShader::compileShader(osg::State& state)
GLint compiled = GL_FALSE; GLint compiled = GL_FALSE;
// OSG_NOTICE<<"Compiling PerContextShader "<<this<<" ShaderDefine="<<getDefineString()<<std::endl; // OSG_NOTICE<<"Compiling PerContextShader "<<this<<" ShaderDefine="<<getDefineString()<<std::endl;
bool printOutShaders = osg::getNotifyLevel()>=osg::NOTICE;//INFO; bool printOutShaders = osg::getNotifyLevel()>=osg::INFO;//NOTICE;
if (_defineStr.empty()) if (_defineStr.empty())
{ {