mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
sixel: verify-no-overlap: initialize ‘intersection’ pixman region
This commit is contained in:
parent
f2da822e9a
commit
2f5df30ef5
1 changed files with 1 additions and 0 deletions
1
sixel.c
1
sixel.c
|
|
@ -188,6 +188,7 @@ verify_no_overlap(const struct terminal *term)
|
|||
six2->pos.row, six2->cols, six2->rows);
|
||||
|
||||
pixman_region32_t intersection;
|
||||
pixman_region32_init(&intersection);
|
||||
pixman_region32_intersect(&intersection, &rect1, &rect2);
|
||||
|
||||
assert(!pixman_region32_not_empty(&intersection));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue