mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-08 04:28:02 +02:00
drm: Do not access path flags directly
Fixes compilation
This commit is contained in:
parent
5b2ed2422d
commit
330b343952
2 changed files with 6 additions and 6 deletions
|
|
@ -1915,9 +1915,9 @@ i915_surface_fill_with_alpha (void *abstract_dst,
|
|||
return status;
|
||||
}
|
||||
|
||||
assert (! path->is_empty_fill);
|
||||
assert (! _cairo_path_fixed_fill_is_empty (path));
|
||||
|
||||
if (_cairo_path_fixed_is_rectilinear_fill (path)) {
|
||||
if (_cairo_path_fixed_fill_is_rectilinear (path)) {
|
||||
cairo_boxes_t boxes;
|
||||
|
||||
_cairo_boxes_init (&boxes);
|
||||
|
|
@ -2259,7 +2259,7 @@ i915_surface_stroke (void *abstract_dst,
|
|||
return status;
|
||||
}
|
||||
|
||||
if (path->is_rectilinear) {
|
||||
if (_cairo_path_fixed_stroke_is_rectilinear (path)) {
|
||||
cairo_boxes_t boxes;
|
||||
|
||||
_cairo_boxes_init (&boxes);
|
||||
|
|
|
|||
|
|
@ -1322,7 +1322,7 @@ i965_surface_stroke (void *abstract_dst,
|
|||
return status;
|
||||
}
|
||||
|
||||
if (path->is_rectilinear) {
|
||||
if (_cairo_path_fixed_stroke_is_rectilinear (path)) {
|
||||
cairo_boxes_t boxes;
|
||||
|
||||
_cairo_boxes_init (&boxes);
|
||||
|
|
@ -1429,9 +1429,9 @@ i965_surface_fill (void *abstract_dst,
|
|||
return status;
|
||||
}
|
||||
|
||||
assert (! path->is_empty_fill);
|
||||
assert (! _cairo_path_fixed_fill_is_empty (path));
|
||||
|
||||
if (_cairo_path_fixed_is_rectilinear_fill (path)) {
|
||||
if (_cairo_path_fixed_fill_is_rectilinear (path)) {
|
||||
cairo_boxes_t boxes;
|
||||
|
||||
_cairo_boxes_init (&boxes);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue