Added #include <osg/Notify>, convert osg::notify usage to OSG_NOTICE
This commit is contained in:
@@ -14,6 +14,7 @@
|
|||||||
#include <osg/ColorMatrix>
|
#include <osg/ColorMatrix>
|
||||||
#include <osg/GL>
|
#include <osg/GL>
|
||||||
#include <osg/State>
|
#include <osg/State>
|
||||||
|
#include <osg/Notify>
|
||||||
|
|
||||||
using namespace osg;
|
using namespace osg;
|
||||||
|
|
||||||
@@ -39,6 +40,6 @@ void ColorMatrix::apply(State& state) const
|
|||||||
glMatrixMode( GL_MODELVIEW );
|
glMatrixMode( GL_MODELVIEW );
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
osg::notify(osg::NOTICE)<<"Warning: ColorMatrix::apply(State&) - not supported."<<std::endl;
|
OSG_NOTICE<<"Warning: ColorMatrix::apply(State&) - not supported."<<std::endl;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,6 +13,7 @@
|
|||||||
#include <osg/GLExtensions>
|
#include <osg/GLExtensions>
|
||||||
#include <osg/State>
|
#include <osg/State>
|
||||||
#include <osg/Fog>
|
#include <osg/Fog>
|
||||||
|
#include <osg/Notify>
|
||||||
|
|
||||||
using namespace osg;
|
using namespace osg;
|
||||||
|
|
||||||
@@ -56,6 +57,6 @@ void Fog::apply(State& state) const
|
|||||||
glFogi(GL_FOG_COORDINATE_SOURCE,_fogCoordinateSource);
|
glFogi(GL_FOG_COORDINATE_SOURCE,_fogCoordinateSource);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
osg::notify(osg::NOTICE)<<"Warning: Fog::apply(State&) - not supported."<<std::endl;
|
OSG_NOTICE<<"Warning: Fog::apply(State&) - not supported."<<std::endl;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,6 +13,7 @@
|
|||||||
#include <osg/GLExtensions>
|
#include <osg/GLExtensions>
|
||||||
#include <osg/TexEnv>
|
#include <osg/TexEnv>
|
||||||
#include <osg/State>
|
#include <osg/State>
|
||||||
|
#include <osg/Notify>
|
||||||
|
|
||||||
using namespace osg;
|
using namespace osg;
|
||||||
|
|
||||||
@@ -47,6 +48,6 @@ void TexEnv::apply(State& state) const
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
osg::notify(osg::NOTICE)<<"Warning: TexEnv::apply(State&) - not supported."<<std::endl;
|
OSG_NOTICE<<"Warning: TexEnv::apply(State&) - not supported."<<std::endl;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,6 +13,7 @@
|
|||||||
#include <osg/GLExtensions>
|
#include <osg/GLExtensions>
|
||||||
#include <osg/TexEnvFilter>
|
#include <osg/TexEnvFilter>
|
||||||
#include <osg/State>
|
#include <osg/State>
|
||||||
|
#include <osg/Notify>
|
||||||
|
|
||||||
using namespace osg;
|
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);
|
glTexEnvf(GL_TEXTURE_FILTER_CONTROL_EXT, GL_TEXTURE_LOD_BIAS_EXT, _lodBias);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
osg::notify(osg::NOTICE)<<"Warning: TexEnvFilter::apply(State&) - not supported."<<std::endl;
|
OSG_NOTICE<<"Warning: TexEnvFilter::apply(State&) - not supported."<<std::endl;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user