mirror of https://github.com/mpv-player/mpv
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:
parent
0bafdca476
commit
39116ecf31
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue