diff --git a/include/osg/Drawable b/include/osg/Drawable index 0ec94bb37..e44d78a23 100644 --- a/include/osg/Drawable +++ b/include/osg/Drawable @@ -219,7 +219,7 @@ class SG_EXPORT Drawable : public Object virtual void drawImplementation(State& state,const osg::Drawable* drawable) const { drawImmediateMode(state,const_cast(drawable)); } /** do customized draw code.*/ - virtual void drawImmediateMode(State& state,osg::Drawable* drawable) const = 0; + virtual void drawImmediateMode(State& state,osg::Drawable* drawable) const {}; #else /** do customized draw code.*/ virtual void drawImplementation(State& state,const osg::Drawable* drawable) const = 0;