Check for cairo-egl instead of just cairo-gl

This commit is contained in:
Kristian Høgsberg 2011-01-14 17:41:33 -05:00
parent d711d0cd66
commit 8def264241
4 changed files with 13 additions and 13 deletions

View file

@ -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 */