summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-10-05 14:55:28 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2012-10-05 14:55:28 +0100
commit6c6a69761048cfad210160035ae32ccb49967d5d (patch)
tree6999b512603fe840803d112027b04e446d568a72
parentccf694d060dd9ea41939fc1c5847d23d3a422b75 (diff)
win32: Compile fix for mismatched surface types
win32/cairo-win32-display-surface.c:472: error: structure has no member named 'base' Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--src/win32/cairo-win32-display-surface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/win32/cairo-win32-display-surface.c b/src/win32/cairo-win32-display-surface.c
index 5353fd579..2c5374c4e 100644
--- a/src/win32/cairo-win32-display-surface.c
+++ b/src/win32/cairo-win32-display-surface.c
@@ -464,7 +464,7 @@ _cairo_win32_display_surface_map_to_image (void *abstract_sur
surface = to_win32_display_surface (surface->fallback);
done:
GdiFlush();
- return _cairo_surface_map_to_image (&surface->image->base, extents);
+ return _cairo_surface_map_to_image (surface->image, extents);
err:
cairo_surface_destroy (surface->fallback);
@@ -499,7 +499,7 @@ _cairo_win32_display_surface_unmap_image (void *abstract_surf
_cairo_damage_add_rectangle (surface->fallback->damage, &r);
}
- return _cairo_surface_unmap_image (&surface->image->base, image);
+ return _cairo_surface_unmap_image (surface->image, image);
}
static cairo_status_t