diff --git a/include/osg/Drawable b/include/osg/Drawable index b366b614b..1f616f6f7 100644 --- a/include/osg/Drawable +++ b/include/osg/Drawable @@ -692,8 +692,8 @@ class SG_EXPORT Drawable : public Object mutable GLObjectList _vboList; ref_ptr _updateCallback; - ref_ptr _drawCallback; ref_ptr _cullCallback; + ref_ptr _drawCallback; }; diff --git a/src/osg/Drawable.cpp b/src/osg/Drawable.cpp index 4e3a9fa2f..675db8560 100644 --- a/src/osg/Drawable.cpp +++ b/src/osg/Drawable.cpp @@ -154,8 +154,9 @@ Drawable::Drawable(const Drawable& drawable,const CopyOp& copyop): _useDisplayList(drawable._useDisplayList), _supportsVertexBufferObjects(drawable._supportsVertexBufferObjects), _useVertexBufferObjects(drawable._useVertexBufferObjects), - _drawCallback(drawable._drawCallback), - _cullCallback(drawable._cullCallback) + _updateCallback(drawable._updateCallback), + _cullCallback(drawable._cullCallback), + _drawCallback(drawable._drawCallback) { }