Commit 46db6c43 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

XCB/x11: fix rendering to 32-bits surface

parent 2d4752cd
......@@ -147,13 +147,8 @@ static int Open (vlc_object_t *obj)
case 32:
if (fmt->bits_per_pixel != 32)
continue;
#ifdef FIXED_VLC_RGBA_MASK
fmt_pic.i_chroma = VLC_CODEC_RGBA;
fmt_pic.i_chroma = VLC_CODEC_ARGB;
break;
#else
msg_Dbg (vd, "X11 visual with alpha-channel not supported");
continue;
#endif
case 24:
if (fmt->bits_per_pixel == 32)
fmt_pic.i_chroma = VLC_CODEC_RGB32;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment