projects
/
profile
/
ivi
/
weston.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de31d5c
)
Remember to handle rgb_visual case in surface_attach.
author
Kristian Høgsberg
<krh@redhat.com>
Fri, 19 Dec 2008 00:58:44 +0000
(19:58 -0500)
committer
Kristian Høgsberg
<krh@redhat.com>
Fri, 19 Dec 2008 00:58:44 +0000
(19:58 -0500)
egl-compositor.c
patch
|
blob
|
history
diff --git
a/egl-compositor.c
b/egl-compositor.c
index
ae64639
..
b24d4f2
100644
(file)
--- a/
egl-compositor.c
+++ b/
egl-compositor.c
@@
-587,6
+587,8
@@
surface_attach(struct wl_client *client,
es->visual = &ec->argb_visual;
else if (visual == &ec->premultiplied_argb_visual.base)
es->visual = &ec->premultiplied_argb_visual;
+ else if (visual == &ec->rgb_visual.base)
+ es->visual = &ec->rgb_visual;
else
/* FIXME: Smack client with an exception event */;