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:
parent
f755905c75
commit
463dcc6b93
@ -1082,7 +1082,7 @@ shell_blur_effect_set_mode (ShellBlurEffect *self,
|
||||
switch (mode)
|
||||
{
|
||||
case SHELL_BLUR_MODE_ACTOR:
|
||||
clear_framebuffer (&self->background_fb);
|
||||
clear_framebuffer (self->background_fb.framebuffer);
|
||||
break;
|
||||
|
||||
case SHELL_BLUR_MODE_BACKGROUND:
|
||||
|
Loading…
Reference in New Issue
Block a user