diff --git a/include/osg/Camera b/include/osg/Camera index 1225091d7..ca60948ea 100644 --- a/include/osg/Camera +++ b/include/osg/Camera @@ -91,7 +91,7 @@ class OSG_EXPORT Camera : public Transform, public CullSettings /** Set the clear color used in glClearColor(..). * glClearColor is only called if mask & GL_COLOR_BUFFER_BIT is true*/ - void setClearColor(const osg::Vec4& color) { _clearColor=color; } + void setClearColor(const osg::Vec4& color) { _clearColor=color; applyMaskAction(CLEAR_COLOR); } /** Get the clear color.*/ const osg::Vec4& getClearColor() const { return _clearColor; }