summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/til_fb.c1
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);
© All Rights Reserved