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>
This commit is contained in:
Chris Wilson 2010-11-12 10:50:21 +00:00 committed by Uli Schlachter
parent f6e6891b59
commit 02b2e3c93f

View file

@ -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;
}