mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-05 11:08:12 +02:00
[directfb] Fix OBO in clip.
DirectFB seems to use inclusive upper bounds.
This commit is contained in:
parent
2743e84171
commit
0ba5085ba0
1 changed files with 2 additions and 2 deletions
|
|
@ -1307,8 +1307,8 @@ _cairo_directfb_surface_set_clip_region (void *abstract_surface,
|
|||
for (i = 0; i < n_boxes; i++) {
|
||||
surface->clips[i].x1 = boxes[i].p1.x;
|
||||
surface->clips[i].y1 = boxes[i].p1.y;
|
||||
surface->clips[i].x2 = boxes[i].p2.x;
|
||||
surface->clips[i].y2 = boxes[i].p2.y;
|
||||
surface->clips[i].x2 = boxes[i].p2.x - 1;
|
||||
surface->clips[i].y2 = boxes[i].p2.y - 1;
|
||||
}
|
||||
|
||||
_cairo_region_boxes_fini (region, boxes);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue