Added explicit initialization of osg::Referenced(true) to osg::Operation subclasses as it uses virtual inhertiance from osg::Referenced.
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15025 16af8721-9629-0410-8352-f15c8da7e697
This commit is contained in:
@@ -98,6 +98,7 @@ void ReleaseContext_Block_MakeCurrentOperation::operator () (GraphicsContext* co
|
||||
|
||||
|
||||
BlockAndFlushOperation::BlockAndFlushOperation():
|
||||
osg::Referenced(true),
|
||||
GraphicsOperation("Block",false)
|
||||
{
|
||||
reset();
|
||||
@@ -115,6 +116,7 @@ void BlockAndFlushOperation::operator () (GraphicsContext*)
|
||||
}
|
||||
|
||||
FlushDeletedGLObjectsOperation::FlushDeletedGLObjectsOperation(double availableTime, bool keep):
|
||||
osg::Referenced(true),
|
||||
GraphicsOperation("FlushDeletedGLObjectsOperation",keep),
|
||||
_availableTime(availableTime)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user