pops the current scissor rectangle from the stack and sets the new scissor area to the new top of stack rectangle . in case no more rectangles are on the stack , gl20 #gl_scissor_test is disabled . any drawing should be flushed before popping scissors . concode_field_sep Vector3 tmp concode_elem_sep Rectangle viewport concode_elem_sep Array<Rectangle> scissors concode_field_sep Rectangle getViewport concode_elem_sep void fix concode_elem_sep boolean pushScissors concode_elem_sep void calculateScissors concode_elem_sep void calculateScissors
Rectangle function ( ) { Rectangle loc0 = scissors . pop ( ) ; if ( scissors . size == 0 ) Gdx . gl . glDisable ( GL20 . GL_SCISSOR_TEST ) ; else { Rectangle loc1 = scissors . peek ( ) ; Gdx . gl . glScissor ( ( int ) loc1 . x , ( int ) loc1 . y , ( int ) loc1 . width , ( int ) loc1 . height ) ; } return loc0 ; }