[PATCH weston 06/10] simple-egl: fix opaque and 16 bits mode options

rawoul at gmail.com rawoul at gmail.com
Mon Aug 25 11:56:48 PDT 2014


From: Arnaud Vrac <avrac at freebox.fr>

In those cases we were writing to the wrong EGL config attribute.
---
 clients/simple-egl.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/clients/simple-egl.c b/clients/simple-egl.c
index 69d28ea..33e711c 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
 	};
-- 
1.9.1



More information about the wayland-devel mailing list