mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-08 13:48:02 +02:00
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>
This commit is contained in:
parent
ccf694d060
commit
6c6a697610
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue