diff options
-rw-r--r-- | src/til_fb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/til_fb.c b/src/til_fb.c index 8760b84..b6e98dd 100644 --- a/src/til_fb.c +++ b/src/til_fb.c @@ -560,6 +560,7 @@ int til_fb_new(const til_fb_ops_t *ops, const char *title, const til_setup_t *se assert(ops->page_alloc); assert(ops->page_free); assert(ops->page_flip); + assert(!setup || setup->creator == ops); assert(n_pages > 1); assert(res_fb); |