Added #include <osg/Notify>, convert osg::notify usage to OSG_NOTICE

This commit is contained in:
Robert Osfield
2010-02-19 20:11:14 +00:00
parent eca4361c4a
commit 1924350e1c
4 changed files with 8 additions and 4 deletions

View File

@@ -13,6 +13,7 @@
#include <osg/GLExtensions>
#include <osg/TexEnvFilter>
#include <osg/State>
#include <osg/Notify>
using namespace osg;
@@ -38,6 +39,6 @@ void TexEnvFilter::apply(State& state) const
glTexEnvf(GL_TEXTURE_FILTER_CONTROL_EXT, GL_TEXTURE_LOD_BIAS_EXT, _lodBias);
}
#else
osg::notify(osg::NOTICE)<<"Warning: TexEnvFilter::apply(State&) - not supported."<<std::endl;
OSG_NOTICE<<"Warning: TexEnvFilter::apply(State&) - not supported."<<std::endl;
#endif
}