mutter/clutter
Daniel van Vugt c6223ffea8 clutter-offscreen-effect: Disable if no texture
If texture allocation fails (e.g. on an old GPU with size limit 2048)
then `update_fbo` would return `FALSE` but leaves `priv->offscreen`
as non-NULL. So the next paint will try to use the offscreen with a
`NULL` texture and crashes. The solution is simply to ensure that
`priv->offscreen` is NULL if there is no `priv->texture`, so the default
(non-offscreen) paint path gets used instead.

Bug reported and fix provided by Gert van de Kraats.

https://launchpad.net/bugs/1795774


(cherry picked from commit f31cf0c3ef)

(cherry picked from commit 1b78ca8c5e)
2019-01-23 23:54:54 +00:00
..
build move everything into a clutter/ directory 2016-04-12 20:04:26 +02:00
clutter clutter-offscreen-effect: Disable if no texture 2019-01-23 23:54:54 +00:00
examples Make libmutter and friends parallel installable 2017-02-14 11:16:45 +08:00
tests clutter: Stop using g_type_class_add_private() 2018-07-31 23:40:01 +02:00
.gitignore clutter: Remove clutter-build-config.h.in 2016-07-20 14:23:48 +08:00
configure.ac configure: Don't declare functions in AC_TRY_LINK and AC_TRY_COMPILE 2018-03-21 13:14:50 +00:00
Makefile.am move everything into a clutter/ directory 2016-04-12 20:04:26 +02:00