Remove reference to osgUtil::RegisterRenderBinProxy
This has gone away in recent OSG sources.
This commit is contained in:
parent
ff95af0367
commit
1ca1f6ad22
@ -70,8 +70,18 @@ public:
|
||||
osg::ref_ptr<osg::RefMatrix> mModelView;
|
||||
};
|
||||
|
||||
osgUtil::RegisterRenderBinProxy
|
||||
SGClipGroup::clipBinProxy("ClipRenderBin", new SGClipGroup::ClipRenderBin);
|
||||
struct SGClipGroup::ClipBinRegistrar
|
||||
{
|
||||
ClipBinRegistrar()
|
||||
{
|
||||
osgUtil::RenderBin
|
||||
::addRenderBinPrototype("ClipRenderBin",
|
||||
new SGClipGroup::ClipRenderBin);
|
||||
}
|
||||
static ClipBinRegistrar registrar;
|
||||
};
|
||||
|
||||
SGClipGroup::ClipBinRegistrar SGClipGroup::ClipBinRegistrar::registrar;
|
||||
|
||||
class SGClipGroup::CullCallback : public osg::NodeCallback {
|
||||
public:
|
||||
|
@ -49,10 +49,8 @@ public:
|
||||
protected:
|
||||
class CullCallback;
|
||||
class ClipRenderBin;
|
||||
|
||||
struct ClipBinRegistrar;
|
||||
std::vector<osg::ref_ptr<osg::ClipPlane> > mClipPlanes;
|
||||
|
||||
static osgUtil::RegisterRenderBinProxy clipBinProxy;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user