Fix for backwards compatibility.
This commit is contained in:
@@ -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*>(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;
|
||||
|
||||
Reference in New Issue
Block a user