mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-24 06:59:50 -05:00
Check for cairo-egl instead of just cairo-gl
This commit is contained in:
parent
d711d0cd66
commit
8def264241
4 changed files with 13 additions and 13 deletions
|
|
@ -212,7 +212,7 @@ allocate_buffer(struct gears *gears)
|
|||
window_draw(gears->window);
|
||||
|
||||
gears->surface[gears->current] = window_get_surface(gears->window);
|
||||
#ifdef HAVE_CAIRO_GL
|
||||
#ifdef HAVE_CAIRO_EGL
|
||||
image = display_get_image_for_drm_surface(gears->display,
|
||||
gears->surface[gears->current]);
|
||||
#else /* XXX: hack to make Wayland compile, even if this example doesn't run */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue