chase: chase scenefx api change

This commit is contained in:
DreamMaoMao 2026-02-13 09:54:45 +08:00
parent fc677558f8
commit c934afcd4a
5 changed files with 30 additions and 34 deletions

View file

@ -154,9 +154,8 @@ static bool scene_node_snapshot(struct wlr_scene_node *node, int lx, int ly,
// Effects
wlr_scene_buffer_set_opacity(snapshot_buffer, scene_buffer->opacity);
wlr_scene_buffer_set_corner_radius(snapshot_buffer,
scene_buffer->corner_radius,
scene_buffer->corners);
wlr_scene_buffer_set_corner_radii(snapshot_buffer,
scene_buffer->corners);
snapshot_buffer->node.data = scene_buffer->node.data;