opt: remove useless code

This commit is contained in:
DreamMaoMao 2025-05-07 16:17:45 +08:00
parent a587e9257c
commit 013a5393a2

View file

@ -4128,8 +4128,6 @@ 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_opacity(snapshot_buffer, scene_buffer->opacity);
snapshot_buffer->node.data = scene_buffer->node.data;
struct wlr_scene_surface *scene_surface =