Added _sorted flag into RenderBin to prevent a bin being sorted twice in one frame
This commit is contained in:
@@ -153,7 +153,8 @@ class OSGUTIL_EXPORT RenderBin : public osg::Object
|
||||
RenderBinList _bins;
|
||||
StateGraphList _stateGraphList;
|
||||
RenderLeafList _renderLeafList;
|
||||
|
||||
|
||||
bool _sorted;
|
||||
SortMode _sortMode;
|
||||
osg::ref_ptr<SortCallback> _sortCallback;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user