[cairo-commit] 2 commits - src/cairo-xcb-surface.c src/cairo-xcb-surface-render.c

Uli Schlachter psychon at kemper.freedesktop.org
Wed Mar 16 08:02:48 PDT 2011


 src/cairo-xcb-surface-render.c |    1 +
 src/cairo-xcb-surface.c        |    2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

New commits:
commit ed7851015404c3c186cf631c219f72dba5e129ae
Author: Uli Schlachter <psychon at znc.in>
Date:   Wed Mar 16 16:01:35 2011 +0100

    xcb-drm: Fix undeclared variable error
    
    Signed-off-by: Uli Schlachter <psychon at znc.in>

diff --git a/src/cairo-xcb-surface-render.c b/src/cairo-xcb-surface-render.c
index 8829dda..1d2d45e 100644
--- a/src/cairo-xcb-surface-render.c
+++ b/src/cairo-xcb-surface-render.c
@@ -1086,6 +1086,7 @@ _cairo_xcb_surface_picture (cairo_xcb_surface_t *target,
 	xcb_pixmap_t pixmap;
 	pixman_format_code_t pixman_format;
 	cairo_surface_pattern_t pattern;
+	cairo_status_t status;
 
 	/* XXX XRenderCreatePictureForNative:
 	 * Copy the source to a temporary pixmap if possible.
commit 02b2e3c93fcc724815e8bda21c6874b0d050ae02
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Fri Nov 12 10:50:21 2010 +0000

    xcb: Compile fix when using xcb-drm
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=31368
    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

diff --git a/src/cairo-xcb-surface.c b/src/cairo-xcb-surface.c
index ff8d9e6..3b0eb34 100644
--- a/src/cairo-xcb-surface.c
+++ b/src/cairo-xcb-surface.c
@@ -195,7 +195,7 @@ _cairo_xcb_surface_create_similar (void			*abstract_other,
     if (other->drm != NULL) {
 	cairo_surface_t *drm;
 
-	drm = _cairo_drm_surface_create_similar (other->drm, content, width, height);
+	drm = other->drm->backend->create_similar (other->drm, content, width, height);
 	if (drm != NULL)
 	    return drm;
     }


More information about the cairo-commit mailing list