mirror of
https://github.com/brl/mutter.git
synced 2025-01-27 20:08:56 +00:00
046a4b8047
Instead of assigning a new colour to each quad of a batch, the rectangle debugging code now assigns a new colour to each batch so that it can be used to visually see what is being batched. The colour is stored in a global variable that is reset during cogl_clear. This improves the chances that the same colour will be used for a batch in the next frames to avoid flickering.