mirror of
https://github.com/brl/mutter.git
synced 2025-01-23 09:59:03 +00:00
9afa52f056
Whenever we modify a material we call _cogl_material_pre_change_notify which checks to see if the material is referenced by the journal and if so flushes if before we modify the material. Since the journal logs material colors directly into a vertex array (to avoid us repeatedly calling glColor) then we know we never need to flush the journal when material colors change.