summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2025-06-14 19:34:38 -0700
committerVito Caputo <vcaputo@pengaru.com>2025-06-21 13:18:04 -0700
commit6d1f5785f94832a659be23860c1f76eeaa345f8a (patch)
tree3a7895d6842016caad04b893a2061ef3b311cc60 /src
parenta49074aff3fbf1762bebfe6c7e09f300a289b075 (diff)
modules/droste: comment re: droste fragmenter bugHEADmaster
Diffstat (limited to 'src')
-rw-r--r--src/modules/droste/droste.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modules/droste/droste.c b/src/modules/droste/droste.c
index 9cbfbac..717e513 100644
--- a/src/modules/droste/droste.c
+++ b/src/modules/droste/droste.c
@@ -112,6 +112,10 @@ static int droste_fragmenter(til_module_context_t *context, const til_fb_fragmen
assert(fragment);
assert(res_fragment);
+ /* This should be using half of the frame_{width,height}, but must be clipped
+ * to the fragment dimensions. As-is this is quite broken in scenarios like droste in a checkers filler
+ * when the perimeter checkers get clipped. FIXME FIXME FIXME
+ */
inset.width = fragment->width >> 1;
inset.height = fragment->height >> 1;
inset.frame_width = inset.width;
© All Rights Reserved