summaryrefslogtreecommitdiff
path: root/clients/gears.c
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2011-01-14 17:41:33 -0500
committerKristian Høgsberg <krh@bitplanet.net>2011-01-14 17:42:50 -0500
commit8def2642417740cac46cb6c9cca957239865dd97 (patch)
treec3386648e0181029291dfa75db9b4a32e932c0b4 /clients/gears.c
parentd711d0cd662f0a3160b56a0a46079ca95308231a (diff)
downloadweston-8def2642417740cac46cb6c9cca957239865dd97.tar.gz
Check for cairo-egl instead of just cairo-gl
Diffstat (limited to 'clients/gears.c')
-rw-r--r--clients/gears.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clients/gears.c b/clients/gears.c
index b8e6cca0..f2eae9c9 100644
--- a/clients/gears.c
+++ b/clients/gears.c
@@ -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 */