mirror of
https://github.com/brl/mutter.git
synced 2025-03-25 20:53:54 +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.