summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnaud Vrac <avrac@freebox.fr>2014-08-25 20:56:48 +0200
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>2014-08-28 13:27:48 +0300
commit488b7cd0f028a4a2371fd56cbd8cc69dc9b99317 (patch)
tree0a5c8d7748ea97d177d2b5144e107ed6e43614d9
parent30b2a37a9ab894270a39bb57bd197fa9149ce26c (diff)
downloadweston-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.c1
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
};