mirror of
https://github.com/brl/mutter.git
synced 2025-01-22 09:29:25 +00:00
e3b2b90c72
A texture with no pixels isn't a useful thing to have, and breaks assumptions elsewhere. For example, CoglFramebuffer assumes that after a texture has been allocated, it will have width and height both greater than 0. In particular, this works around a crash when gnome-shell tries to blur a background that hasn't yet had any space allocated for it - which it seems is really an actor layout bug, but more robustness seems good to have. Workaround for <https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2538>. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1172 Signed-off-by: Simon McVittie <smcv@debian.org> (cherry picked from commit 37eda498f2de2cf787a5e65d6f0248e4a8e33490)