diff options
author | Arnaud Vrac <avrac@freebox.fr> | 2014-08-25 20:56:48 +0200 |
---|---|---|
committer | Pekka Paalanen <pekka.paalanen@collabora.co.uk> | 2014-08-28 13:27:48 +0300 |
commit | 488b7cd0f028a4a2371fd56cbd8cc69dc9b99317 (patch) | |
tree | 0a5c8d7748ea97d177d2b5144e107ed6e43614d9 | |
parent | 30b2a37a9ab894270a39bb57bd197fa9149ce26c (diff) | |
download | weston-488b7cd0f028a4a2371fd56cbd8cc69dc9b99317.tar.gz weston-488b7cd0f028a4a2371fd56cbd8cc69dc9b99317.tar.bz2 weston-488b7cd0f028a4a2371fd56cbd8cc69dc9b99317.zip |
simple-egl: fix opaque and 16 bits mode options
In those cases we were writing to the wrong EGL config attribute.
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
-rw-r--r-- | clients/simple-egl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clients/simple-egl.c b/clients/simple-egl.c index 69d28ea7..33e711c5 100644 --- a/clients/simple-egl.c +++ b/clients/simple-egl.c @@ -133,6 +133,7 @@ init_egl(struct display *display, struct window *window) EGL_RED_SIZE, 1, EGL_GREEN_SIZE, 1, EGL_BLUE_SIZE, 1, + EGL_ALPHA_SIZE, 1, EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT, EGL_NONE }; |