From Jan Peciva, change information about failed shader compilation/linking/validation to OSG_WARN.

This commit is contained in:
Robert Osfield 2010-06-14 15:21:50 +00:00
parent da60a3c615
commit d1a3350af0

View File

@ -613,16 +613,16 @@ bool Program::PerContextProgram::validateProgram()
if( validated == GL_TRUE)
return true;
OSG_INFO << "glValidateProgram FAILED \"" << _program->getName() << "\""
OSG_WARN << "glValidateProgram FAILED \"" << _program->getName() << "\""
<< " id=" << _glProgramHandle
<< " contextID=" << _contextID
<< std::endl;
std::string infoLog;
if( getInfoLog(infoLog) )
OSG_INFO << "infolog:\n" << infoLog << std::endl;
OSG_WARN << "infolog:\n" << infoLog << std::endl;
OSG_INFO << std::endl;
OSG_WARN << std::endl;
return false;
}