mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-04 01:17:59 +02:00
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:
parent
f6e6891b59
commit
02b2e3c93f
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue