| 1830 | } |
| 1831 | |
| 1832 | void Node::clipSmartEnable( const Int32& x, const Int32& y, const Uint32& Width, |
| 1833 | const Uint32& Height, bool needsClipPlanes ) { |
| 1834 | if ( needsClipPlanes ) { |
| 1835 | GLi->getClippingMask()->clipPlaneEnable( x, y, Width, Height ); |
| 1836 | } else { |
| 1837 | GLi->getClippingMask()->clipEnable( x, y, Width, Height ); |
| 1838 | } |
| 1839 | } |
| 1840 | |
| 1841 | void Node::clipSmartDisable( bool needsClipPlanes ) { |
| 1842 | if ( needsClipPlanes ) { |
no test coverage detected