Skip to content
Snippets Groups Projects
Commit 8988c943 authored by Alexandros Frantzis's avatar Alexandros Frantzis Committed by Marius Vlad
Browse files

clients/simple-egl: Allow translucent 16-bit surfaces


This allows users to get r5g5b5a1 configs which currently (in Mesa) interact
badly with EGL_EXT_present_opaque, and act as a good test case for the EGL
implementation.

Users can still get a 16-bit surface without alpha by using the "-o" flag.

Signed-off-by: default avatarAlexandros Frantzis <alexandros.frantzis@collabora.com>
parent e59eca51
No related branches found
No related tags found
1 merge request!1515clients/simple-egl: Allow exercising EGL_EXT_present_opaque
......@@ -198,7 +198,7 @@ init_egl(struct display *display, struct window *window)
EGLBoolean ret;
int r, g, b, a;
if (window->opaque || window->buffer_bpp == 16)
if (window->opaque)
config_attribs[9] = 0;
display->egl.dpy =
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment