blur-effect: Fix crash when switching to ACTOR mode

The `clear_framebuffer()` function takes a CoglFramebuffer, not a
FramebufferData object.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/991
This commit is contained in:
Jonas Dreßler 2020-02-10 15:20:51 +01:00 committed by Georges Basile Stavracas Neto
parent f755905c75
commit 463dcc6b93

View File

@ -1082,7 +1082,7 @@ shell_blur_effect_set_mode (ShellBlurEffect *self,
switch (mode) switch (mode)
{ {
case SHELL_BLUR_MODE_ACTOR: case SHELL_BLUR_MODE_ACTOR:
clear_framebuffer (&self->background_fb); clear_framebuffer (self->background_fb.framebuffer);
break; break;
case SHELL_BLUR_MODE_BACKGROUND: case SHELL_BLUR_MODE_BACKGROUND: