diff options
Diffstat (limited to 'src/modules/snow')
-rw-r--r-- | src/modules/snow/snow.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/snow/snow.c b/src/modules/snow/snow.c index fcc40b3..a367113 100644 --- a/src/modules/snow/snow.c +++ b/src/modules/snow/snow.c @@ -37,9 +37,9 @@ static til_module_context_t * snow_create_context(unsigned seed, unsigned ticks, } -static void snow_prepare_frame(til_module_context_t *context, unsigned ticks, til_fb_fragment_t *fragment, til_fragmenter_t *res_fragmenter) +static void snow_prepare_frame(til_module_context_t *context, unsigned ticks, til_fb_fragment_t *fragment, til_frame_plan_t *res_frame_plan) { - *res_fragmenter = til_fragmenter_slice_per_cpu; + *res_frame_plan = (til_frame_plan_t){ .fragmenter = til_fragmenter_slice_per_cpu }; } |