[cairo-commit] src/cairo-directfb-surface.c
Chris Wilson
ickle at kemper.freedesktop.org
Tue May 14 03:36:43 PDT 2013
src/cairo-directfb-surface.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 631bf299256e11a17511977f357e0353fb5615f7
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Sat May 11 21:37:05 2013 +0100
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 at chris-wilson.co.uk>
diff --git a/src/cairo-directfb-surface.c b/src/cairo-directfb-surface.c
index 16e367a..5ac64ba 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
More information about the cairo-commit
mailing list