# HG changeset patch # User reimar # Date 1105207136 0 # Node ID 3512ff2cddb26857cd82c8411019d2dab4ac51fd # Parent 90b4a1345b9652e0bfd78b17a0312c0580cba398 set sub_bg_alpha only to 255 when using hardware OSD. diff -r 90b4a1345b96 -r 3512ff2cddb2 libvo/vo_gl.c --- a/libvo/vo_gl.c Sat Jan 08 14:32:26 2005 +0000 +++ b/libvo/vo_gl.c Sat Jan 08 17:58:56 2005 +0000 @@ -159,6 +159,7 @@ glFindFormat(format, &image_bytes, &gl_texfmt, &gl_format, &gl_type); image_bytes = (image_bytes + 7) / 8; + if (use_osd) sub_bg_alpha = 255; // We need alpha = 255 for invisible part of the OSD int_pause = 0;