mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
bf594e9fb6
When changing the 'enabled' property and disabling the offscreen effect, it doesn't make sense to preserve the offscreen framebuffer. It's not drawing, after all. Furthermore, because ClutterOffscreenEffect only checks if the offscreen framebuffer exists to decide whether or not to redraw, keeping the fbo alive is a waste of resources. Clear the offscreen framebuffer when the effect is disabled or enabled. Fixes https://gitlab.gnome.org/GNOME/mutter/issues/810 https://gitlab.gnome.org/GNOME/mutter/merge_requests/992 |
||
---|---|---|
.. | ||
clutter | ||
.gitignore | ||
meson.build |