summaryrefslogtreecommitdiff
path: root/src/til.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/til.c')
-rw-r--r--src/til.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/til.c b/src/til.c
index 1bc03b4..151f690 100644
--- a/src/til.c
+++ b/src/til.c
@@ -189,7 +189,10 @@ static void module_render_fragment(til_module_context_t *context, til_threads_t
til_threads_wait_idle(threads);
} else {
unsigned fragnum = 0;
- til_fb_fragment_t frag, *frag_ptr = &frag;
+ til_fb_fragment_t frag, texture, *frag_ptr = &frag;
+
+ if ((*fragment_ptr)->texture)
+ frag.texture = &texture; /* fragmenter needs the space */
while (frame_plan.fragmenter(context, *fragment_ptr, fragnum++, &frag))
module->render_fragment(context, ticks, 0, &frag_ptr);
© All Rights Reserved