diff --git a/include/osg/Stencil b/include/osg/Stencil index 62ff506ca..5198ec198 100644 --- a/include/osg/Stencil +++ b/include/osg/Stencil @@ -91,7 +91,7 @@ class SG_EXPORT Stencil : public StateAttribute inline void setFunctionRef(int ref) { _funcRef=ref; } inline int getFunctionRef() const { return _funcRef; } - inline void getFunctionMask(unsigned int mask) { _funcMask=mask; } + inline void setFunctionMask(unsigned int mask) { _funcMask=mask; } inline unsigned int getFunctionMask() const { return _funcMask; }