[cairo-commit] src/cairo-ps-surface.c

Adrian Johnson ajohnson at kemper.freedesktop.org
Fri Jul 29 05:21:26 PDT 2011


 src/cairo-ps-surface.c |    4 ----
 1 file changed, 4 deletions(-)

New commits:
commit 7fbe430e2a6aa8131b11f874731507be28c629b1
Author: Adrian Johnson <ajohnson at redneon.com>
Date:   Fri Jul 29 21:51:04 2011 +0930

    ps: remove unnecessary flush
    
    that was preventing string of glyphs from separate calls to
    cairo_show_glyphs() being merged.

diff --git a/src/cairo-ps-surface.c b/src/cairo-ps-surface.c
index 4d1c321..c75ef18 100644
--- a/src/cairo-ps-surface.c
+++ b/src/cairo-ps-surface.c
@@ -3463,10 +3463,6 @@ _cairo_ps_surface_emit_pattern (cairo_ps_surface_t *surface,
 {
     cairo_status_t status;
 
-    status = _cairo_pdf_operators_flush (&surface->pdf_operators);
-    if (unlikely (status))
-	return status;
-
     if (pattern->type == CAIRO_PATTERN_TYPE_SOLID) {
 	cairo_solid_pattern_t *solid = (cairo_solid_pattern_t *) pattern;
 


More information about the cairo-commit mailing list