projects
/
platform
/
upstream
/
weston.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa54885
)
Fix passing the height in resize_window
author
nobled
<nobled@dreamwidth.org>
Thu, 25 Mar 2010 23:47:11 +0000
(19:47 -0400)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Tue, 30 Mar 2010 15:25:36 +0000
(11:25 -0400)
Otherwise the attr_list's height value is left at 0.
gears.c
patch
|
blob
|
history
diff --git
a/gears.c
b/gears.c
index
ff385a2
..
0059d07
100644
(file)
--- 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);