mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-07 21:28:02 +02:00
directfb: Correctly chain up map-to-image/unmap to the image backend
Fixes the infinite recursion reported by jojo. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
728e58e60f
commit
631bf29925
1 changed files with 2 additions and 2 deletions
|
|
@ -197,7 +197,7 @@ _cairo_dfb_surface_map_to_image (void *abstract_surface,
|
|||
_cairo_image_surface_init (&surface->image, image, surface->image.pixman_format);
|
||||
}
|
||||
|
||||
return _cairo_surface_map_to_image (&surface->image.base, extents);
|
||||
return _cairo_image_surface_map_to_image (&surface->image.base, extents);
|
||||
}
|
||||
|
||||
static cairo_int_status_t
|
||||
|
|
@ -205,7 +205,7 @@ _cairo_dfb_surface_unmap_image (void *abstract_surface,
|
|||
cairo_image_surface_t *image)
|
||||
{
|
||||
cairo_dfb_surface_t *surface = abstract_surface;
|
||||
return _cairo_surface_unmap_image (&surface->image.base, image);
|
||||
return _cairo_image_surface_unmap_image (&surface->image.base, image);
|
||||
}
|
||||
|
||||
static cairo_status_t
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue