summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Preisinger <alexander.preisinger@gmail.com>2013-04-02 20:50:54 +0200
committerAlexander Preisinger <alexander.preisinger@gmail.com>2013-04-02 20:50:54 +0200
commit39116ecf3135691a6202bda47d6f21b0633c5322 (patch)
tree6769d0d43547d5ecb54ac62bc596ab4c547b6acf
parent0bafdca476d5e49e6f3b0c01984563fc42664f09 (diff)
downloadmpv-39116ecf3135691a6202bda47d6f21b0633c5322.tar.bz2
mpv-39116ecf3135691a6202bda47d6f21b0633c5322.tar.xz
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.
-rw-r--r--video/out/gl_wayland.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/gl_wayland.c b/video/out/gl_wayland.c
index 38d6213132..1659e1bc15 100644
--- a/video/out/gl_wayland.c
+++ b/video/out/gl_wayland.c
@@ -101,7 +101,7 @@ static bool egl_create_context(struct vo_wayland_state *wl,
EGL_RED_SIZE, 1,
EGL_GREEN_SIZE, 1,
EGL_BLUE_SIZE, 1,
- EGL_ALPHA_SIZE, 0,
+ EGL_ALPHA_SIZE, 1,
EGL_DEPTH_SIZE, 1,
EGL_RENDERABLE_TYPE, EGL_OPENGL_BIT,
EGL_NONE