summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2025-06-21 00:18:54 -0700
committerVito Caputo <vcaputo@pengaru.com>2025-06-21 13:18:04 -0700
commita49074aff3fbf1762bebfe6c7e09f300a289b075 (patch)
tree5928a7d320fbfcaa53fbe10809f6697926055a37
parentc2faad57b12418799d8530cd1dc2ca06e834473f (diff)
modules/droste: trivial cleanup
No functional difference
-rw-r--r--src/modules/droste/droste.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/modules/droste/droste.c b/src/modules/droste/droste.c
index 09e471f..9cbfbac 100644
--- a/src/modules/droste/droste.c
+++ b/src/modules/droste/droste.c
@@ -202,9 +202,7 @@ static void droste_prepare_frame(til_module_context_t *context, til_stream_t *st
/* discard the snapshot which will prevent doing anything this frame,
* since it doesn't match the incoming fragment (like a resize situation)
*/
- ctxt->snapshot = til_fb_fragment_reclaim(ctxt->snapshot);
-
- return;
+ ctxt->snapshot = til_fb_fragment_reclaim(snapshot);
}
}
}
© All Rights Reserved