mirror of
https://github.com/brl/mutter.git
synced 2025-03-21 10:43:53 +00:00

If the clip stack is empty then _cogl_clip_stack_flush exits immediately. This was missing out the assignment of *stencil_used_p at the bottom of the function. If a path is then used after the clip is cleared then it would think it needs to merge with the clip so the stencil would not be cleared correctly.