natiny_render_scissor_end

C
void natiny_render_scissor_end(void);

Pops the current scissor rectangle. A nested scissor restores its parent; drawing becomes unrestricted only when the stack becomes empty.

Example

C
natiny_render_scissor_begin(40, 40, 220, 120);
natiny_render_scissor_end();

Notes

  • Call this after natiny_render_scissor_begin(...).
  • If no scissor is active, calling this is a no-op.