mirror of
https://github.com/brl/mutter.git
synced 2025-05-08 16:14:55 +00:00

The rest of Cogl expects the texture mode to be GL_MODULATE so it needs to be restored after calling cogl_material_rectangle. Otherwise cogl_texture_rectangle will fail to blend with the Cogl color properly and all of the labels will be black.