wayland: enable alpha support

It is now possible to show images and videos with alpha information correctly.
This was disalbed before, because there was a bug that made black parts of
videos also transparent.
This commit is contained in:
Alexander Preisinger 2013-04-02 20:50:54 +02:00
parent 0bafdca476
commit 39116ecf31
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ static bool egl_create_context(struct vo_wayland_state *wl,
EGL_RED_SIZE, 1, EGL_RED_SIZE, 1,
EGL_GREEN_SIZE, 1, EGL_GREEN_SIZE, 1,
EGL_BLUE_SIZE, 1, EGL_BLUE_SIZE, 1,
EGL_ALPHA_SIZE, 0, EGL_ALPHA_SIZE, 1,
EGL_DEPTH_SIZE, 1, EGL_DEPTH_SIZE, 1,
EGL_RENDERABLE_TYPE, EGL_OPENGL_BIT, EGL_RENDERABLE_TYPE, EGL_OPENGL_BIT,
EGL_NONE EGL_NONE