The demo program’s implementation of the #MicroUI clip command just uses #glScissor, which means that the clip command doesn’t stack or nest; it just sets the drawable region, so you don’t need an “unclip” command.
on 02024-09-11explains, “Every time you set the scissor state with glScissor, you set the scissor state. It does not nest, and it does not stack, so you cannot “subscissor” with nested calls to #glScissor. You’ll have to manually compute the rectangular intersection of your ListView and your Window bounding rects, and then scissor to that when drawing ListView.” #OpenGL #graphics
on 02024-09-11