diff options
Diffstat (limited to 'src/modules/checkers')
-rw-r--r-- | src/modules/checkers/checkers.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modules/checkers/checkers.c b/src/modules/checkers/checkers.c index 6f5d9eb..f094402 100644 --- a/src/modules/checkers/checkers.c +++ b/src/modules/checkers/checkers.c @@ -289,6 +289,10 @@ static void checkers_render_fragment(til_module_context_t *context, til_stream_t /* now that state has been determined, set the frame size */ fragment->frame_width = ctxt->setup->size; fragment->frame_height = ctxt->setup->size; + if (fragment->texture) { + fragment->texture->frame_width = ctxt->setup->size; + fragment->texture->frame_height = ctxt->setup->size; + } switch (ctxt->setup->dynamics) { case CHECKERS_DYNAMICS_ODD: |