summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-05-11 21:37:05 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2013-05-14 11:36:27 +0100
commit631bf299256e11a17511977f357e0353fb5615f7 (patch)
treed3f1caca023594231c2b32b3574aa144563ac99f /src
parent728e58e60f89076f626329ee3f006f011783f90b (diff)
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>
Diffstat (limited to 'src')
-rw-r--r--src/cairo-directfb-surface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cairo-directfb-surface.c b/src/cairo-directfb-surface.c
index 16e367af8..5ac64ba98 100644
--- a/src/cairo-directfb-surface.c
+++ b/src/cairo-directfb-surface.c
@@ -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