| 677 | } |
| 678 | |
| 679 | void Tr2Sprite2dScene::PopClipRectangle() |
| 680 | { |
| 681 | //CCP_STATS_ZONE( __FUNCTION__ ); |
| 682 | |
| 683 | if( m_ignoreClip ) |
| 684 | { |
| 685 | return; |
| 686 | } |
| 687 | |
| 688 | // TODO: Implement for 3d rendering |
| 689 | if( !m_is2dRender ) |
| 690 | { |
| 691 | return; |
| 692 | } |
| 693 | |
| 694 | CCP_ASSERT( !m_clipStack->empty() ); |
| 695 | m_clipStack->pop_back(); |
| 696 | } |
| 697 | |
| 698 | |
| 699 | const Tr2Sprite2dClipRect& Tr2Sprite2dScene::GetClipRectangle() const |
no test coverage detected