From: nobled Date: Thu, 25 Mar 2010 23:47:11 +0000 (-0400) Subject: Fix passing the height in resize_window X-Git-Tag: 0.85.0~550 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c9e208899b84895072ba171f9e6013ac28a06747;p=platform%2Fupstream%2Fwayland.git Fix passing the height in resize_window Otherwise the attr_list's height value is left at 0. --- diff --git a/gears.c b/gears.c index ff385a2..0059d07 100644 --- a/gears.c +++ b/gears.c @@ -274,7 +274,7 @@ resize_window(struct gears *gears) if (gears->image) eglDestroyImageKHR(gears->display, gears->image); attribs[1] = gears->rectangle.width; - attribs[1] = gears->rectangle.height; + attribs[3] = gears->rectangle.height; gears->image = eglCreateImageKHR(gears->display, gears->context, EGL_SYSTEM_IMAGE_INTEL, NULL, attribs);