summaryrefslogtreecommitdiff
path: root/clients/gears.c
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2011-02-10 12:04:30 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2011-03-17 15:55:18 +0100
commit6693ac21088618d1a33391550fdd4d4521171018 (patch)
tree72eed54d70d1a6042559257b1ea5ac76d56a777d /clients/gears.c
parent9c26ff3507da9708f5028b37ee9a23df43be0246 (diff)
window: Use window surfaces for windows
Diffstat (limited to 'clients/gears.c')
-rw-r--r--clients/gears.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/clients/gears.c b/clients/gears.c
index 8496abb..2df79c3 100644
--- a/clients/gears.c
+++ b/clients/gears.c
@@ -359,6 +359,7 @@ gears_create(struct display *display)
gears->d = display;
gears->window = window_create(display, width, height);
window_set_title(gears->window, "Wayland Gears");
+ window_set_buffer_type(gears->window, WINDOW_BUFFER_TYPE_EGL_IMAGE);
gears->display = display_get_egl_display(gears->d);
if (gears->display == NULL)