mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-01-08 20:00:30 +01:00
xcb: Fix device offsets with unmap_image()
The source and target x/y coordinates were swapped. No idea why this only now caused a test suite failure, perhaps something recently started using SHM? Fixes: map-bit-to-image, map-to-image-fill Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
880321ae9d
commit
f162f7ebb4
1 changed files with 2 additions and 2 deletions
|
|
@ -526,10 +526,10 @@ _put_shm_image (cairo_xcb_surface_t *surface,
|
|||
surface->drawable,
|
||||
gc,
|
||||
surface->width, surface->height,
|
||||
0, 0,
|
||||
image->width, image->height,
|
||||
image->base.device_transform_inverse.x0,
|
||||
image->base.device_transform_inverse.y0,
|
||||
image->width, image->height,
|
||||
0, 0,
|
||||
image->depth,
|
||||
shm_info->shm,
|
||||
shm_info->offset);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue