osgcallback required fixes for new osg::Drawable::CullCallback

This commit is contained in:
Don BURNS
2002-07-02 06:28:41 +00:00
parent d2aa4270ce
commit 304e56db51

View File

@@ -129,7 +129,7 @@ struct BillboardCallback : public osg::Billboard::ComputeBillboardCallback
struct DrawableCullCallback : public osg::Drawable::CullCallback
{
/** do customized cull code.*/
virtual bool cull(osg::NodeVisitor*, osg::Drawable* drawable) const
virtual bool cull(osg::NodeVisitor*, osg::Drawable* drawable, osg::State *state=NULL) const
{
std::cout<<"Drawable cull callback "<<drawable<<std::endl;
return false;