mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-06 02:18:03 +02:00
quartz: Fix compilation
The function _cairo_image_surface_create_for_content does not exist. The correct name of the function is instead _cairo_image_surface_create_with_content.
This commit is contained in:
parent
8a10c25c3f
commit
7c1424a315
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ _cairo_quartz_image_surface_create_similar (void *asurface,
|
|||
{
|
||||
cairo_surface_t *result;
|
||||
cairo_surface_t *isurf =
|
||||
_cairo_image_surface_create_for_content (content, width, height);
|
||||
_cairo_image_surface_create_with_content (content, width, height);
|
||||
if (cairo_surface_status(isurf))
|
||||
return isurf;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue