mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-04 13:29:51 -05:00
Fix passing the height in resize_window
Otherwise the attr_list's height value is left at 0.
This commit is contained in:
parent
fa54885600
commit
c9e208899b
1 changed files with 1 additions and 1 deletions
2
gears.c
2
gears.c
|
|
@ -274,7 +274,7 @@ resize_window(struct gears *gears)
|
||||||
if (gears->image)
|
if (gears->image)
|
||||||
eglDestroyImageKHR(gears->display, gears->image);
|
eglDestroyImageKHR(gears->display, gears->image);
|
||||||
attribs[1] = gears->rectangle.width;
|
attribs[1] = gears->rectangle.width;
|
||||||
attribs[1] = gears->rectangle.height;
|
attribs[3] = gears->rectangle.height;
|
||||||
gears->image = eglCreateImageKHR(gears->display, gears->context,
|
gears->image = eglCreateImageKHR(gears->display, gears->context,
|
||||||
EGL_SYSTEM_IMAGE_INTEL,
|
EGL_SYSTEM_IMAGE_INTEL,
|
||||||
NULL, attribs);
|
NULL, attribs);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue