From 013a5393a2f0b53ee073be284849a06a4917407f Mon Sep 17 00:00:00 2001 From: DreamMaoMao <2523610504@qq.com> Date: Wed, 7 May 2025 16:17:45 +0800 Subject: [PATCH] opt: remove useless code --- src/maomao.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/maomao.c b/src/maomao.c index 678731c..70ff5a7 100644 --- a/src/maomao.c +++ b/src/maomao.c @@ -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 =