summaryrefslogtreecommitdiff
path: root/include/sway/desktop/fx_renderer/fx_renderer.h
diff options
context:
space:
mode:
authorfamfo <[email protected]>2023-12-22 06:08:09 +0000
committerGitHub <[email protected]>2023-12-22 01:08:09 -0500
commitca42d414536c167f951e23bfc50d5edabb6f9dc2 (patch)
tree989ef953da5cc98a826de4bf19dc2aad34d8f1be /include/sway/desktop/fx_renderer/fx_renderer.h
parent5e866d0345449f34ac51c6590a3aac285cb2f8bf (diff)
Implement shadow_offset (#255)
Diffstat (limited to 'include/sway/desktop/fx_renderer/fx_renderer.h')
-rw-r--r--include/sway/desktop/fx_renderer/fx_renderer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sway/desktop/fx_renderer/fx_renderer.h b/include/sway/desktop/fx_renderer/fx_renderer.h
index 410e3d94..bfae7b72 100644
--- a/include/sway/desktop/fx_renderer/fx_renderer.h
+++ b/include/sway/desktop/fx_renderer/fx_renderer.h
@@ -207,8 +207,8 @@ void fx_render_border_corner(struct fx_renderer *renderer, const struct wlr_box
enum corner_location corner_location, int radius, int border_thickness);
void fx_render_box_shadow(struct fx_renderer *renderer, const struct wlr_box *box,
- const float color[static 4], const float matrix[static 9], int radius,
- float blur_sigma);
+ const struct wlr_box *inner_box, const float color[static 4],
+ const float matrix[static 9], int corner_radius, float blur_sigma);
void fx_render_blur(struct fx_renderer *renderer, const float matrix[static 9],
struct fx_framebuffer **buffer, struct blur_shader *shader, const struct wlr_box *box,