mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-common
synced 2026-08-14 15:02:09 +00:00
region.c: fix region_bounds_intersects
region_bounds_intersects mistakingly ignored one of the input regions, and compared the other region to itself.
This commit is contained in:
parent
063f4dd385
commit
b52948d792
@ -420,7 +420,7 @@ int region_bounds_intersects(const QRegion *rgn1, const QRegion *rgn2)
|
||||
pixman_box32_t *extents1, *extents2;
|
||||
|
||||
extents1 = pixman_region32_extents((pixman_region32_t *)rgn1);
|
||||
extents2 = pixman_region32_extents((pixman_region32_t *)rgn1);
|
||||
extents2 = pixman_region32_extents((pixman_region32_t *)rgn2);
|
||||
|
||||
return EXTENTCHECK(extents1, extents2);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user