mirror of
https://github.com/brl/mutter.git
synced 2025-01-22 17:38:56 +00:00
Rui Matos
ca1b4382c0
shaped-texture: Invalidate mask texture when main texture changes size
We currently rely only on MetaWindowActor to update the mask texture. This isn't good enough since we might get asked to use the mask (e.g. via meta_shaped_texture_get_image() ) after having a new texture size but before MetaWindowActor decides to update the mask in which case we might crash since cogl_texture_new_from_sub_texture() might fail with an early return such as Cogl-CRITICAL **: cogl_sub_texture_new: assertion 'sub_x + sub_width <= next_width' failed https://bugzilla.gnome.org/show_bug.cgi?id=762639
…
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%