diff options
author | Kristian Høgsberg <krh@redhat.com> | 2008-12-18 19:58:44 -0500 |
---|---|---|
committer | Kristian Høgsberg <krh@redhat.com> | 2008-12-18 19:58:44 -0500 |
commit | e10b8285628b0265b53486e16c1fa5ebd451ecd2 (patch) | |
tree | 46b6bcccd84b7f3ceda38253f9e85b37ca7b6a3c | |
parent | de31d5ca6f2650da3c4e8c45acdcee73ed655602 (diff) |
Remember to handle rgb_visual case in surface_attach.
-rw-r--r-- | egl-compositor.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/egl-compositor.c b/egl-compositor.c index ae64639..b24d4f2 100644 --- 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 */; |