summaryrefslogtreecommitdiffstats
path: root/gfx/cairo/16-quartz-surface-doimage-extendpad.patch
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/cairo/16-quartz-surface-doimage-extendpad.patch')
-rw-r--r--gfx/cairo/16-quartz-surface-doimage-extendpad.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/gfx/cairo/16-quartz-surface-doimage-extendpad.patch b/gfx/cairo/16-quartz-surface-doimage-extendpad.patch
new file mode 100644
index 0000000000..eaf67b42a4
--- /dev/null
+++ b/gfx/cairo/16-quartz-surface-doimage-extendpad.patch
@@ -0,0 +1,12 @@
+diff --git a/gfx/cairo/cairo/src/cairo-quartz-surface.c b/gfx/cairo/cairo/src/cairo-quartz-surface.c
+--- a/gfx/cairo/cairo/src/cairo-quartz-surface.c
++++ b/gfx/cairo/cairo/src/cairo-quartz-surface.c
+@@ -1315,7 +1315,7 @@ static cairo_int_status_t
+
+ srcRect = CGRectMake (0, 0, extents.width, extents.height);
+
+- if (source->extend == CAIRO_EXTEND_NONE) {
++ if (source->extend == CAIRO_EXTEND_NONE || source->extend == CAIRO_EXTEND_PAD) {
+ int x, y;
+ if (op == CAIRO_OPERATOR_SOURCE &&
+ (pat_surf->content == CAIRO_CONTENT_ALPHA ||