added back region expansion
This commit is contained in:
parent
139c33f7c5
commit
2b286dfe8f
1 changed files with 3 additions and 0 deletions
|
@ -247,6 +247,9 @@ struct fx_framebuffer *get_main_buffer_blur(struct fx_renderer *renderer, struct
|
||||||
wlr_region_transform(&damage, &damage, transform,
|
wlr_region_transform(&damage, &damage, transform,
|
||||||
monitor_box.width, monitor_box.height);
|
monitor_box.width, monitor_box.height);
|
||||||
|
|
||||||
|
int blur_size = pow(2, config->blur_params.num_passes) * config->blur_params.radius;
|
||||||
|
wlr_region_expand(&damage, &damage, blur_size);
|
||||||
|
|
||||||
// Initially blur main_buffer content into the effects_buffers
|
// Initially blur main_buffer content into the effects_buffers
|
||||||
struct fx_framebuffer *current_buffer = &renderer->main_buffer;
|
struct fx_framebuffer *current_buffer = &renderer->main_buffer;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue