mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 16:40:41 -05:00
1b78ca8c5e
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
|
||
---|---|---|
.. | ||
build | ||
clutter | ||
examples | ||
tests | ||
.gitignore | ||
configure.ac | ||
Makefile.am |