From 488b7cd0f028a4a2371fd56cbd8cc69dc9b99317 Mon Sep 17 00:00:00 2001 From: Arnaud Vrac Date: Mon, 25 Aug 2014 20:56:48 +0200 Subject: 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 --- clients/simple-egl.c | 1 + 1 file changed, 1 insertion(+) 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 }; -- cgit v1.2.1