From Farshid Lashkari, "This patch simply reduces some messages output in osg::Program from NOTICE to INFO, since they are not important for most users."
This commit is contained in:
@@ -488,7 +488,7 @@ void Program::PerContextProgram::linkProgram(osg::State& state)
|
||||
for( AttribBindingList::const_iterator itr = programBindlist.begin();
|
||||
itr != programBindlist.end(); ++itr )
|
||||
{
|
||||
OSG_NOTICE<<"Program's vertex attrib binding "<<itr->second<<", "<<itr->first<<std::endl;
|
||||
OSG_INFO<<"Program's vertex attrib binding "<<itr->second<<", "<<itr->first<<std::endl;
|
||||
_extensions->glBindAttribLocation( _glProgramHandle, itr->second, reinterpret_cast<const GLchar*>(itr->first.c_str()) );
|
||||
}
|
||||
|
||||
@@ -500,7 +500,7 @@ void Program::PerContextProgram::linkProgram(osg::State& state)
|
||||
for( AttribBindingList::const_iterator itr = stateBindlist.begin();
|
||||
itr != stateBindlist.end(); ++itr )
|
||||
{
|
||||
OSG_NOTICE<<"State's vertex attrib binding "<<itr->second<<", "<<itr->first<<std::endl;
|
||||
OSG_INFO<<"State's vertex attrib binding "<<itr->second<<", "<<itr->first<<std::endl;
|
||||
_extensions->glBindAttribLocation( _glProgramHandle, itr->second, reinterpret_cast<const GLchar*>(itr->first.c_str()) );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user