summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-11-12 10:50:21 +0000
committerUli Schlachter <psychon@znc.in>2011-03-16 15:56:10 +0100
commit02b2e3c93fcc724815e8bda21c6874b0d050ae02 (patch)
tree5d195e672e4c414e86370b20073c12a1dccd41c3
parentf6e6891b59656c944a7e758a53e07ed5f29f5c39 (diff)
xcb: Compile fix when using xcb-drm
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=31368 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--src/cairo-xcb-surface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-xcb-surface.c b/src/cairo-xcb-surface.c
index ff8d9e6a..3b0eb342 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;
}