mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-04 21:08:10 +02:00
win32: Trivially fix the compile error with printing.
_cairo_pattern_is_opaque() now takes the extents over which the operation is defined so that we make exclude the clear pixels that surround EXTEND_NONE surfaces when determining opacity. In order to take full advantage of this we need to start performing an extents query on the operation and pass that down to the analysis... This patch however is just the quick compile fix to pass a NULL and restore the old behaviour. Fixes (with previous commit): Bug 26197 - Cairo doesn't build on windows http://bugs.freedesktop.org/show_bug.cgi?id=26197
This commit is contained in:
parent
386ca53f28
commit
b3ba610ec0
1 changed files with 1 additions and 1 deletions
|
|
@ -263,7 +263,7 @@ _cairo_win32_printing_surface_analyze_operation (cairo_win32_surface_t *surface,
|
|||
return analyze_surface_pattern_transparency (surface_pattern);
|
||||
}
|
||||
|
||||
if (_cairo_pattern_is_opaque (pattern))
|
||||
if (_cairo_pattern_is_opaque (pattern, NULL))
|
||||
return CAIRO_STATUS_SUCCESS;
|
||||
else
|
||||
return CAIRO_INT_STATUS_FLATTEN_TRANSPARENCY;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue